AspiringCodeGod
AspiringCodeGod

Reputation: 1

Getting a weird error when trying to import libraries with pip

I use Python through a VScode virtual machine. I tried to install the pandas library for a project, but received an error.

I expected the library to install normally, but received this error message.

pip install pandas
pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check 
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip install pandas
+ ~~~
    + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Have I not installed pip somehow?

What can I do to fix this?

Upvotes: 0

Views: 41

Answers (0)

Related Questions