[Python] How to upgrade Pandas via pip?

Discussão em 'Python' iniciado por Stack, Maio 6, 2025.

  1. Stack

    Stack Membro Participativo

    I currently have Pandas 1.4.2 installed. I want to update to the latest version, so I entered this into the command prompt:


    pip install -U pandas
    ​

    However, it just returns this message:


    Requirement already satisfied: pandas in c:\users\my_username\appdata\local\programs\python\python39\lib\site-packages (1.4.2)
    ​

    Which sounds like it won't install the new version because I already have Pandas installed. But I thought the -U specifies that you want to update an existing package?

    Does anyone know where I'm going wrong please? I'm using pip 22.0.4 and Python 3.9.12 if that helps.

    Continue reading...

Compartilhe esta Página