Skip to content Skip to sidebar Skip to footer

Unexpected Keyword Argument 'raise_on_status'

I installed quandl using pip. I imported it and tried it: import quandl mydata = quandl.get('FRED/GDP') print(df.head()) This resulted in the error below. Any suggestions how to

Solution 1:

The error appeared during instantiating of Retry and said Retry is a class from urllib3.

There is raise_on_status in urllib3 in the repository. Perhaps you have an older version of urllib3 and need to upgrade it.

Solution 2:

cd ~/.local/lib/python3.5/site-packages/quandl/ and Open connection.py. Go to line 74 and remove the argument raise_on_status Worked for me!!

Post a Comment for "Unexpected Keyword Argument 'raise_on_status'"