• Re: Issue with pip Installation on My Laptop

    From Mats Wichmann@21:1/5 to Thomas Passin via Python-list on Sat Jul 27 14:58:08 2024
    On 7/26/24 16:28, Thomas Passin via Python-list wrote:
    On 7/26/2024 7:25 AM, Lizna Shah via Python-list wrote:
    OSError: [WinError 225] Operation did not complete successfully
    because the
    file contains a virus or potentially unwanted software

    That part of the error message tells you the story.  Windows thinks some file in the install has been corrupted with malware.



    The Windows installer comes with pip, there's no need to do an extra
    install to get it:

    python -m pip --version

    If you can't find the pip *command*, that's a problem with yout PATH
    settings. The Python installer offers to add the location of Python
    itself to PATH, and you've apparently taken it up on that offer, but
    that's not the same directory that pip goes to. Just use it as a module
    and you should be fine.


    ===

    The typical paths will be something like

    C:\Users\you\AppData\Local\Programs\Python\Python310 # python executable C:\Users\you\AppData\Local\Programs\Python\Python310\Scripts # pip "executable"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mats Wichmann@21:1/5 to MRAB via Python-list on Sat Jul 27 18:10:41 2024
    On 7/27/24 17:13, MRAB via Python-list wrote:
    On 2024-07-27 21:58, Mats Wichmann via Python-list wrote:
    On 7/26/24 16:28, Thomas Passin via Python-list wrote:
    On 7/26/2024 7:25 AM, Lizna Shah via Python-list wrote:
    OSError: [WinError 225] Operation did not complete successfully
    because the
    file contains a virus or potentially unwanted software

    That part of the error message tells you the story.  Windows thinks
    some file in the install has been corrupted with malware.



    The Windows installer comes with pip, there's no need to do an extra
    install to get it:

    python -m pip --version

    On Windows it's recommended that you use the Python Launcher 'py':

    py -m pip --version

    I agree! :-) but since the OP had apparently done enough to get the
    command named "python" to work, was trying to not introduce one extra
    factor.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From MRAB@21:1/5 to Mats Wichmann via Python-list on Sun Jul 28 00:13:10 2024
    On 2024-07-27 21:58, Mats Wichmann via Python-list wrote:
    On 7/26/24 16:28, Thomas Passin via Python-list wrote:
    On 7/26/2024 7:25 AM, Lizna Shah via Python-list wrote:
    OSError: [WinError 225] Operation did not complete successfully
    because the
    file contains a virus or potentially unwanted software

    That part of the error message tells you the story.  Windows thinks some
    file in the install has been corrupted with malware.



    The Windows installer comes with pip, there's no need to do an extra
    install to get it:

    python -m pip --version

    On Windows it's recommended that you use the Python Launcher 'py':

    py -m pip --version

    If you can't find the pip *command*, that's a problem with yout PATH settings. The Python installer offers to add the location of Python
    itself to PATH, and you've apparently taken it up on that offer, but
    that's not the same directory that pip goes to. Just use it as a module
    and you should be fine.


    ===

    The typical paths will be something like

    C:\Users\you\AppData\Local\Programs\Python\Python310 # python executable C:\Users\you\AppData\Local\Programs\Python\Python310\Scripts # pip "executable"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Passin@21:1/5 to Lizna Shah via Python-list on Fri Jul 26 18:28:00 2024
    On 7/26/2024 7:25 AM, Lizna Shah via Python-list wrote:
    OSError: [WinError 225] Operation did not complete successfully because the file contains a virus or potentially unwanted software

    That part of the error message tells you the story. Windows thinks some
    file in the install has been corrupted with malware.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)