Home > Net >  install and import pandas in vscode
install and import pandas in vscode

Time:09-21

I am a very beginner for vscode and python and computer stuff in general.

I am having trouble importing pandas into vs code, and none of the previous posts was helpful for me since I literally can't understand it and can't follow their steps.

I am gonna show you what I have done so far.

First, I open the vscode and open terminal (powershell)

Second, I type pip3 install pandas and it successfully install pandas For example, I ran that command again, it gave me "Requirement already satisfied" enter image description here

Copy the full path of the interpreter and install the pandas library for it using the command

C:\Users\Admin\AppData\Local\Programs\Python\Python310\python.exe -m pip install pandas

Modify the above path to the path you just got

It can also be done in the interactive window of the terminal

enter image description here

  • Related