python - How to solve import error for pandas using iPython Notebook on Windows? -


i'm trying import pandas while using ipython. overall purpose use xlwings.

i'm on windows 7 , have used anaconda install python, pandas , dependencies.

here code:

from pandas import dataframe 

which gives:

importerror                               traceback (most recent call last) <ipython-input-7-26dfcabfb474> in <module>() ----> 1 pandas import dataframe  c:\users\accounting\anaconda\lib\site-packages\pandas\__init__.py in <module>()      11                       "pandas source directory, may need run "      12                       "'python setup.py build_ext --inplace' build c " ---> 13                       "extensions first.".format(module))      14       15 datetime import datetime  importerror: c extension: hashtable not built. if want import pandas source directory, may need run 'python setup.py build_ext --inplace' build c extensions first. 

can experience of using python/pandas in ipython on windows me understand how solve error?

specifically run "python setup.py build_ext --inplace"?

thanks!

as posted jeff in comments:

there bug in older versions (of conda) if had updated pandas while being used didn't update correctly. try closing python processes, then

conda remove pandas  conda install pandas 

Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -