python: after installing anaconda, how to import pandas

前端 未结 13 2148
眼角桃花
眼角桃花 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条回答
  •  伪装坚强ぢ
    2021-01-31 18:44

    If you are facing same problem as mine. Here is the solution which works for me.

    1. Uninstall every python and anaconda.
    2. Download anaconda from here "http://continuum.io/downloads" and only install it (no other python is needed).
    3. Open spyder and import.
    4. If you get any error, type in command prompt

      pip install module_name

    I hope it will work for you too

提交回复
热议问题