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

k0pernikus picture k0pernikus  路  3Comments

Govinda-Fichtner picture Govinda-Fichtner  路  6Comments

rashthedude picture rashthedude  路  3Comments

sensibleish picture sensibleish  路  3Comments

filipesperandio picture filipesperandio  路  3Comments