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

后端 未结 2 599
独厮守ぢ
独厮守ぢ 2021-01-12 22:48

I\'m trying to import pandas while using iPython. My overall purpose is to use XLwings.

I\'m on Windows 7 and have used Anaconda to install Python, pandas and all t

相关标签:
2条回答
  • 2021-01-12 23:14

    I found while installing packages (most from Christoph Gohlke), sometimes you have to use "pip install name of .whl" (in proper path to package) and initially adding a "C:/miscutilities" to Environmental Variables PATH if it wouldn't install from the Anaconda -> Lib -> site-packages. Then some other packages I used conda.

    0 讨论(0)
  • 2021-01-12 23:39

    As posted by Jeff in the comments:

    There is a bug in older versions (of conda) where if you had updated pandas WHILE it was being used it didn't update correctly. Try closing all python processes, then

    conda remove pandas
    
    conda install pandas
    
    0 讨论(0)
提交回复
热议问题