[Python] Getting a weird error when trying to import libraries with pip

Discussão em 'Python' iniciado por Stack, Março 1, 2025.

  1. Stack

    Stack Membro Participativo

    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?

    Continue reading...

Compartilhe esta Página