简体   繁体   中英

import pandas could not be resolved

I am new to python, I have followed a tutorial and installed latest version of anaconda created an environement by installing python 3.6

used following commands

    conda create -n env1 python=3.6
    conda activate env1
    conda install pandas 

but when I am running the code I am getting following error and I am not able to identify what is going wrong with the code.

在此处输入图像描述

VS code:

在此处输入图像描述

Edit #1:

Just to test with other version, I have installed python 3.7 and run the following code

在此处输入图像描述

conda create -n env1 python=3.6
conda activate env1
conda install pandas 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM