Jupyter python3 notebook cannot recognize pandas

后端 未结 14 1014
终归单人心
终归单人心 2020-12-14 15:56

I am using the Jupyter notebook with Python 3 selected. On the first line of a cell I am entering:

import pandas as pd

The error I get from

14条回答
  •  离开以前
    2020-12-14 16:29

    If you use anaconda already as a distribution, stop using pip in that context. Use conda instead and you will stop having headaches. The command lines and procedures for setting up a new environment are pretty well documented here.

    Basically upgrading python or having specific branches:

    conda update python
    conda install python=3.5
    

    Or using specific environments:

    conda create -n py35 python=3.5 anaconda
    

提交回复
热议问题