Py3 OSX "Module not found"
See original GitHub issueThe installation makes no trouble i get the success message for Py2 and 3.
When trying to import them Py2 makes no trouble but Py3 says
ModuleNotFoundError: No module named 'pyowm'
.
Installed via pip2 install pyowm
and pip3 install pyowm
.
I also tried pip install git+https://github.com/csparpa/pyowm.git@develop
but the problem still remains.
(I hade no problem installing it on my Windows.)
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Modules are installed using pip on OSX but not found when ...
Install pip again specifying the destination of the modules that will be installed. This must be the destination for the system/default python.
Read more >No module named ' ' in Python on Windows, Linux, and macOS
This video will show you how to fix ModuleNotFoundError: No module named ' ' when using importing packages or modules in Python.
Read more >Why Can't Python Find My Modules? - Real Python
This is caused by the fact that the version of Python you're running your script with is not configured to search for modules...
Read more >Python 3.9 does not find packages that work with Python 3.8
One from Apple the original in /usr/bin/python3 the 3.8.9 version. The other via Homebrew (I suspect in /opt/homebrew/python3) the 3.9.9.
Read more >Installing Python 3 on Mac OS X
While OS X comes with a large number of Unix utilities, those familiar with Linux systems will notice one key component missing: a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks it worked i did
brew uninstall python3
and thensudo pip3 install pyowm
now i can import it.Thanks a lot for your time.
Was having the same issue, and a simple uninstall/reinstall of python through Homebrew worked.