ImportError: No module named pandas. Pandas installed pip

后端 未结 5 2074
星月不相逢
星月不相逢 2021-01-01 17:51

i use mac terminal to check my package:

pip list

i can find all packages include pandas

but

5条回答
  •  滥情空心
    2021-01-01 18:16

    If python v2.7 is already installed, then to install numpy and pandas for v2.7. Run the below commands :

    for Ubuntu / Linux -

    sudo apt-get install python-numpy
    sudo apt-get install python-pandas
    

    If python v3 is already installed, then to install numpy and pandas for v3. Run the below commands :

    for Ubuntu / Linux -

    sudo apt-get install python3-numpy
    sudo apt-get install python3-pandas
    

提交回复
热议问题