Home > Enterprise >  Visual studio Code : Import "pandas" could not be resolved from source
Visual studio Code : Import "pandas" could not be resolved from source

Time:11-01

error screenshot

Hi there, I have installed Python 3.10.8 from Microsoft store and installed Pandas (via pip), but still got this message. Thanks

CodePudding user response:

This is usually due to not having the correct Python interpreter selected in VsCode. Press Cntrl Shift P, search for Select Python Interpreter and try to change between the options. Hope this helps!

CodePudding user response:

you can have to install http://conda.pydata.org/miniconda.html

and then you can just do

conda install pandas

you have all the instruction in the next web page. https://pandas.pydata.org/pandas-docs/dev/getting_started/install.html

  • Related