question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Py3 OSX "Module not found"

See original GitHub issue

The 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:closed
  • Created 6 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
BartzLeoncommented, Sep 3, 2017

Thanks it worked i did brew uninstall python3 and then sudo pip3 install pyowm now i can import it.

Thanks a lot for your time.

0reactions
andrewlvovskycommented, Feb 24, 2020

Was having the same issue, and a simple uninstall/reinstall of python through Homebrew worked.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found