python: after installing anaconda, how to import pandas

前端 未结 13 2155
眼角桃花
眼角桃花 2021-01-31 18:00

I have installed anaconda. Now when i am trying to run

import pandas as pd

I am getting the following error

Traceback (most re         


        
13条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 18:41

    1. Another alternative is to use Pycharm IDE. For each project, you can set the Project Interpreter in Settings.

    2. For example, if anaconda is installed in /home/user/anaconda2/bin/python, you can select the Project Interpreter and set to this folder.

    3. Since the whole project is set to Anaconda's path, you can import any module which is packaged within Anaconda.

提交回复
热议问题