ZSH Errors, Python MAC - python

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 hours ago.
Improve this question
Took awhile but got DLIB installed. Python, MAC.. Try to run a program with the following imports, which all load fine:
import cv2
import dlib
import numpy as np
import os
However, I am getting a zsh: illegal hardware instruction /Users/name/opt/anaconda/bin/python
I keep seeing things about tensor, but I'm not using it. Any help would be greatly appreciated.
Trying to get some facial recognition CV going

Related

I can't install the nmap module on python [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
enter image description here
hello I have a problem with my python code that I am creating I wanted to import the nmap module on my code but I have a problem with line 5 of the module
someone would have a little idea please
enter image description here
The nmap Python module only works if you actually have nmap installed. It doesn't come by default on Windows. You can get it here.

When ever I try to import any open source library or try to upgrade my pip this error pops up. Can someone please help me? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
This is the error
ImportError: cannot import name 'raise_for_status' from 'pip._internal.network.utils' (c:\users\aditya\appdata\local\pro
grams\python\python39\lib\site-packages\pip_internal\network\utils.py)
Upgrading pip or adding --no-cache-dir to the command might help.

How do I add autoit to Spyder? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I am new to python and trying to write scripts in Spyder that use autoit but keep getting an error when I import autoit :
ModuleNotFoundError: No module named 'autoit'
First pip install -U pyautoit and then add import autoit
You can also look at this question. Hope it will help you

installing pygame in python, but untill now doesnt work [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I try to install pygame. But untill now doesnt work.
If i go to: http://localhost:17714/
I see this:
And if I try to install pygame like this:
I also went to:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame
And I added the .whl file to this directory:
So what I am doing wrong??
Thank you!! Will be nice if somebody can help me.
But I am working on windows 10 - 64bit version
I get this error:
Oke, I could upgrade. But I still get the error:
wowwwwww:
I installed: a other version. And boemmm it works. See:
Try this website:
https://www.webucator.com/blog/2015/03/installing-the-windows-64-bit-version-of-pygame/
I had a look at the comments and it looks like a majority got it to work

How to install imtools module for in Ubuntu [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am using python in Ubuntu, but when I import the imtools module:
import imtools
I get this error:
ImportError: No module named imtools
How can I install the module?
I believe you're possibly following:
Jan Erik Solem's book "Programming Computer Vision with Python"
If that is the case then you are supposed to create the file imtools.py yourself.
You then store the functions you've made in that file so you can use them later on.

Categories