AttributeError: module 'pandas' has no attribute 'core'

surroundings:

CentOS Linux release 7.4.1708 (Core)

Ananconda3

Run the python terminal and get an error when importing tensorflow:

AttributeError: module 'pandas' has no attribute 'core'

But running the ipython terminal, there is no error when importing tensorflow.

I tried several methods, but it didn't solve it. Finally, I uninstalled pandas and reinstalled it to solve it.

pip uninstall pandas

pip install pandas

Related Posts