Answer the question
In order to leave comments, you need to log in
Module import error 'unhandled ImportError'. How to win?
When importing the module, it gives an error: Exception "unhandled ImportError"
Most likely this is due to the fact that two pythons 2 and 3 are installed
. Debian operating system.
The pyowm module is present
in pip list
How to connect this module?
Answer the question
In order to leave comments, you need to log in
In linux, in most cases, 2 pythons are already installed, since python2 is needed for the system itself (everyone can’t jump off it in any way)
For python3, you need to install it like this:
pip3 install pyowm
Also check which python you are using.
To get an answer here, you need more information: how the package was installed, in what environment you write the code, attach the code and error text (in text).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question