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.
Related
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.
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.
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
Hello I have a problem in Python 3 on Windows with the Tkinter module it is not recognized when I import it even though I installed it on PowerShell with pip.
I don't know if the module is not installed or if I enter the correct code, don't hesitate to show me how to use Tkinter.
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
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 9 years ago.
Improve this question
how can i know the location of the python module using find command in linux
I am quite new with python as well as linux.
And don't know how to find a particular module or file
Easier method is to import it from Python and checking the path from there.
For example:
python
>>> import statsd
>>> print statsd.__file__
/usr/local/lib/python2.7/dist-packages/statsd/__init__.pyc
It is faster with:
locate module
or:
locate module.py
using find:
find /usr -name module.py