Importing Pandas gives error AttributeError: module 'pandas' has no attribute 'core' in iPython Notebook

前端 未结 19 728
夕颜
夕颜 2020-11-30 09:50

I am running a iPython notebook via the Anaconda Navigator app (version 1.1.0). When I want to import pandas it gives me a strange error. I thought the Anaconda app included

相关标签:
19条回答
  • 2020-11-30 10:27

    I had exact issue and here is how I fixed:

    I found out that I had first installed Keras then installed pandas in my virtual env. When you install keras, pandas is shipped with it. Do not need to pip install pandas.

    I tested this hypothesis by creating new virtual environment and wala... pandas appeared without me installing it. Thus I came to the conclusion that pandas is automatically installed when you pip install keras.

    0 讨论(0)
提交回复
热议问题