Importing Confusion Pandas
pandas, python
Solution
Are you by chance doing `import pandas` inside a directory containing the source code from PyPI or GitHub? Alternately, you may be missing a dependency that was not checked for in 0.7.1. If you are not importing from a source directory, could you please edit the pandas/init.py file (in C:\Python27\Lib\site-packages) to have a print statement after the import of `pandas._tseries` and show me what it says:
try:
import pandas._tseries as lib
except Exception, e: # pragma: no cover
print e # <-- ADD THIS LINE
if 'No module named' in str(e):
raise ImportError('C extensions not built: if you installed already '
'verify that you are not importing from the source '
'directory')
else:
raise
If you could move this to the issue tracker that would be preferred. Thanks!
Problem
I had 0.71 pandas before today. I tried to update and I simply ran the .exe file supplied by the website. now I tried " import pandas" but then it gives me an error ImportError: C extensions not built: if you installed already verify that you are not importing from the source directory. I am new to python and pandas in general. Anything will help. thanks,