No module named 'logzero'
See original GitHub issue- Using latest version as provided on the master branch
- Searched for similar issues including closed ones
What is the purpose of your issue?
- Bug
- Feature Request
- Question
- Other
Description
I was able to successfully install the requirements and then when I tried downloading a song, I got an error saying:
ModuleNotFoundError: No module named ‘logzero’
Log
I cannot run this as the logzero hasn’t installed
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
logzero - PyPI
Provides a fully configured standard Python logger object. JSON logging (with integrated python-json-logger); Pretty formatting, including level-specific colors ...
Read more >How to fix "ModuleNotFoundError: No module named 'logzero'"
How to fix "ModuleNotFoundError: No module named 'logzero'" ... You must first install the package before you can use it in your code....
Read more >ModuleNotFoundError: No module named 'logzero'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'logzero' How to remove the ModuleNotF.
Read more >Python doesn't work: ImportError: No module named 'logging'
Try to find out where this module is located: sudo updatedb locate logging | grep python. Then try adding this path to PYTHONPATH....
Read more >logzero: Python logging made easy — logzero 1.7.0 ...
Configures and returns a fully configured logger instance, no hassles. If a logger with the specified name already exists, it returns the existing...
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 Free
Top 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
So, I probably found the solution. Just noticed mine all are in
dist-packages, notsite-packages, which is normally not a problem as long as the directory is in Python’s search path! The output ofwill clarify. If you don’t see the path
'/usr/local/lib/python3.6/site-packages'in there, your other imports will fail as well. If so, edit your~/.profileand append a linethen
source ~/.profileand you should be good to go.So, it’s getting weird but we’ll find a solution. Please tell me the output of
If the last command doesn’t show anything, please do
/usr/local/bin/pip3 install logzeroand doUsing absolute pths should not be necessary, but let’s try that just to be sure.