New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Py3 OSX "Module not found" #211
Comments
Hi @werthd it looks like your installation fails somehow I need to understand more of your installation and local setup in oder to sort this out: could you please paste back here the outputs of the following shell commands run on your OSX setup?
The output list from the very last command should contain the path in output to the very first command ( Anyway, let's have a look at your setup-specific and then we'll see Thanks |
Thanks for the fast answer |
Good thanks! So.. your Can you please post here the output of command:
And also, did you Thanks |
There is no output when i execute this command and i installed it with and without sudo. I wannet to mention that i have the same problem with face_recognition module. |
Same outcome also running Here my best guess is that your OSX actually has two Python3.6 interpreters along with their respective library folders, and modules get installed in different locations depending on the one you use. In your case, when you originally installed PyOWM with This could be explained if you installed a new Python setup using Homebrew or similar package managers on OSX Please run:
and post back here, we should see the 2 binaries and their location. Also these pages might be helpful to give you an idea of the issue (the 1st one also proposing a solution): |
with sudo it says: Name: pyowm the command: Command: python3.6 - /usr/local/bin/python3.6 I habe installed python from the python website and with Homebrew . |
One question can I just delete the python folder in my programs folder ore the version installed via Homebrew ? |
OK so now if you do:
you should see a |
No, barely erasing that folder won't be enough... you need to uninstall that Python version using Homebrew itself You can consider to keep the Homebrew-sourced Python installed and make a system-wide alias for it... I'm not a Mac user but you can check this out here or Google for it |
still says no module found named 'pyowm' |
OK, try again with If it doesn't work, then |
Thanks it worked i did Thanks a lot for your time. |
Super! You're welcome |
Was having the same issue, and a simple uninstall/reinstall of python through Homebrew worked. |
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
andpip3 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.)
The text was updated successfully, but these errors were encountered: