Skip to content
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

AttributeError: 'module' object has no attribute 'disable_warnings' #391

Closed
mattotodd opened this issue Oct 20, 2015 · 3 comments
Closed

Comments

@mattotodd
Copy link

Just read about this and tried the example but get the following error on OSX 10.10.1

jiminy-cricket:src mattotodd$ http http://radek.io/
Traceback (most recent call last):
File "/usr/local/bin/http", line 7, in
from httpie.main import main
File "/Library/Python/2.7/site-packages/httpie/main.py", line 6, in
from .core import main
File "/Library/Python/2.7/site-packages/httpie/core.py", line 22, in
from httpie.client import get_response
File "/Library/Python/2.7/site-packages/httpie/client.py", line 15, in
urllib3.disable_warnings()
AttributeError: 'module' object has no attribute 'disable_warnings'

@KLuka
Copy link

KLuka commented Oct 20, 2015

See #316 for help 😉

@mattotodd
Copy link
Author

k, so after reviewing #316 i saw that i was running requests 2.3.0, after running

pip install --upgrade  requests

this was resolved, thx

@tilek
Copy link

tilek commented Dec 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants