[Python] Could not install packages due to an OSError: [WinError 2] No such file or directory

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

  1. Stack

    Stack Membro Participativo

    I try to use pip to install numpy, and I receive the following error message:


    Python: Could not install packages due to an OSError: [Errno 2] No such file or directory 'c:\python39\Scripts\f2py.exe' -> 'c:\python39\Scripts\f2py.exe.deleteme'
    ​

    I'm not sure about an older version of numpy installed first.

    I ran just command prompt, not a one with admin privileges.

    [​IMG]

    Can anyone help? Thanks.

    Continue reading...

Compartilhe esta Página