Httpie: AttributeError: 'module' object has no attribute 'disable_warnings'

Created on 20 Oct 2015  ·  3Comments  ·  Source: httpie/httpie

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'

Most helpful comment

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

All 3 comments

See #316 for help :wink:

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Govinda-Fichtner picture Govinda-Fichtner  ·  6Comments

jclem picture jclem  ·  6Comments

hrj picture hrj  ·  5Comments

eliangcs picture eliangcs  ·  5Comments

chuma picture chuma  ·  3Comments