Feb-05-2018, 07:35 PM
Hi guys,
ive started learning python for data analysis purpose.
so ive downloaded activestate (activepython 3.5.3 with a matplotlib/pandas... and lots of other packages just so that i dont need to download them individually)
so i tried to follow this fella's tutorial
https://www.youtube.com/watch?v=Iqjy9UqK...6b0aDrrKyL-
however when i got to import pandas_datareader.data as web, an error came up
> import pandas as pd
>>> import datetime
>>> import pandas_datareader.data as web
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
import pandas_datareader.data as web
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/__init__.py", line 2, in <module>
from .data import (DataReader, Options, get_components_yahoo,
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/data.py", line 7, in <module>
from pandas_datareader.bankofcanada import BankOfCanadaReader
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/bankofcanada.py", line 5, in <module>
from pandas_datareader.base import _BaseReader
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/base.py", line 13, in <module>
from pandas_datareader._utils import (RemoteDataError, SymbolWarning,
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/_utils.py", line 6, in <module>
from requests_file import FileAdapter
ImportError: No module named 'requests_file'
>>>
Does that mean i havent installed the pandas reader properly?
i downloadeded pandas-datareader-0.6.0.tar.gz (md5) from https://pypi.python.org/pypi/pandas-datareader and extracted the files and ran the set up in IDLE and it seems the IDLE has restarted
Sorry for the stupid question
Many thanks
ive started learning python for data analysis purpose.
so ive downloaded activestate (activepython 3.5.3 with a matplotlib/pandas... and lots of other packages just so that i dont need to download them individually)
so i tried to follow this fella's tutorial
https://www.youtube.com/watch?v=Iqjy9UqK...6b0aDrrKyL-
however when i got to import pandas_datareader.data as web, an error came up
> import pandas as pd
>>> import datetime
>>> import pandas_datareader.data as web
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
import pandas_datareader.data as web
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/__init__.py", line 2, in <module>
from .data import (DataReader, Options, get_components_yahoo,
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/data.py", line 7, in <module>
from pandas_datareader.bankofcanada import BankOfCanadaReader
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/bankofcanada.py", line 5, in <module>
from pandas_datareader.base import _BaseReader
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/base.py", line 13, in <module>
from pandas_datareader._utils import (RemoteDataError, SymbolWarning,
File "/Users/Kit/Downloads/pandas-datareader-0.6.0/pandas_datareader/_utils.py", line 6, in <module>
from requests_file import FileAdapter
ImportError: No module named 'requests_file'
>>>
Does that mean i havent installed the pandas reader properly?
i downloadeded pandas-datareader-0.6.0.tar.gz (md5) from https://pypi.python.org/pypi/pandas-datareader and extracted the files and ran the set up in IDLE and it seems the IDLE has restarted
Sorry for the stupid question
Many thanks