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
ImportError: No module named 'pkg_resources' #508
Comments
bump |
@badjano that's an old version. Try: $ brew update && brew upgrade httpie |
Traceback (most recent call last): |
I have a colleague that has the same mac, but it is working on his, I reinstalled python, pip, setuptools, brew upgrade, everything, still can't figure out what is going on |
I just ran into this as well. Looking at the install error, I saw this:
To fix, I ran:
Then, try httpie:
After installing python3 properly, it works (even with PYTHONPATH set to the old value). I think this is compounded also by brew's recent 1.0.0 release - it seems to have changed a number of python things for me, and I've had to reinstall a number of packages. |
Thanks @sheeley, this worked for me, although my python3 wasn't linked and I decided to force uninstall it and install it again, and now it works! |
This happened to me after I upgraded npm from 3.10.10 to 4.0.5... I tried @sheeley solution but it did not work for me. My fix was to |
➜ ~ http --help
Traceback (most recent call last):
File "/usr/local/Cellar/httpie/0.9.4/libexec/bin/http", line 5, in
from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'
The text was updated successfully, but these errors were encountered: