• script folder is empty

    From Scott Baer@21:1/5 to All on Mon Jul 18 00:53:34 2022
    I just installed Python 3.10.5 on a Windows 10 home ( Ver 21H2 OS build 1904431826).
    I'm logged in with admin privileges
    I did a custom install with python-3.10.5-amd64.exe to C:\Program Files\Python310
    Installed with both For all Users & PIP selected.
    ;
    once It was done installing, I rebooted and can run python:
    Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64
    bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.


    when I try to run: pip --version
    C:\Users\baerr>pip --version
    'pip' is not recognized as an internal or external command,
    operable program or batch file.

    I've done some troubleshooting, and nothing is in the C:\Program Files\Python310\Scripts folder.

    I"m not a noob.. but obviously, I missing something.. I doubt this is a
    bug.

    Any help is much appreciated !!

    Scott
    baerrs@gmail.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dn@21:1/5 to Scott Baer on Mon Jul 18 17:42:07 2022
    On 18/07/2022 16.53, Scott Baer wrote:
    I just installed Python 3.10.5 on a Windows 10 home ( Ver 21H2 OS build 1904431826).
    I'm logged in with admin privileges
    I did a custom install with python-3.10.5-amd64.exe to C:\Program Files\Python310
    Installed with both For all Users & PIP selected.
    ;
    once It was done installing, I rebooted and can run python:
    Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.


    when I try to run: pip --version
    C:\Users\baerr>pip --version
    'pip' is not recognized as an internal or external command,
    operable program or batch file.

    I've done some troubleshooting, and nothing is in the C:\Program Files\Python310\Scripts folder.

    I"m not a noob.. but obviously, I missing something.. I doubt this is a bug.

    Any help is much appreciated !!

    I don't use MS-Windows. Have you perused the docs?
    eg https://docs.python.org/3/using/windows.html?highlight=windows

    DuckDuckGo's first 'hit' for "How to Install PIP for Python on Windows"
    is https://www.liquidweb.com/kb/install-pip-windows/ - but please be
    aware that what comes-with varies according to the source used to obtain
    the copy of Python, and (perhaps) the version of MS-Win. YMMV!
    --
    Regards,
    =dn

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Stromberg@21:1/5 to PythonList@danceswithmice.info on Mon Jul 18 06:07:41 2022
    This is another reason to use:
    python -m pip ...
    ...instead of:
    pip ...

    (Or many systems want python3 -m pip)

    HTH

    On Sun, Jul 17, 2022 at 10:42 PM dn <PythonList@danceswithmice.info> wrote:

    On 18/07/2022 16.53, Scott Baer wrote:
    I just installed Python 3.10.5 on a Windows 10 home ( Ver 21H2 OS build 1904431826).
    I'm logged in with admin privileges
    I did a custom install with python-3.10.5-amd64.exe to C:\Program Files\Python310
    Installed with both For all Users & PIP selected.
    ;
    once It was done installing, I rebooted and can run python:
    Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929
    64
    bit (AMD64)] on win32
    Type "help", "copyright", "credits" or "license" for more information.


    when I try to run: pip --version
    C:\Users\baerr>pip --version
    'pip' is not recognized as an internal or external command,
    operable program or batch file.

    I've done some troubleshooting, and nothing is in the C:\Program Files\Python310\Scripts folder.

    I"m not a noob.. but obviously, I missing something.. I doubt this is a bug.

    Any help is much appreciated !!

    I don't use MS-Windows. Have you perused the docs?
    eg https://docs.python.org/3/using/windows.html?highlight=windows

    DuckDuckGo's first 'hit' for "How to Install PIP for Python on Windows"
    is https://www.liquidweb.com/kb/install-pip-windows/ - but please be
    aware that what comes-with varies according to the source used to obtain
    the copy of Python, and (perhaps) the version of MS-Win. YMMV!
    --
    Regards,
    =dn
    --
    https://mail.python.org/mailman/listinfo/python-list


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eryk Sun@21:1/5 to Scott Baer on Mon Jul 18 12:15:59 2022
    On 7/17/22, Scott Baer <baerrs@gmail.com> wrote:

    I've done some troubleshooting, and nothing is in the C:\Program Files\Python310\Scripts folder.

    The installer may have silently failed to install pip. Run the
    following command to check whether the package was installed.

    "C:\Program Files\Python310\python.exe" -m pip -V

    The standard library includes pip (a third-party package) via the
    "ensurepip" bundle. You can use it to install pip with the following
    command:

    "C:\Program Files\Python310\python.exe" -m ensurepip --default-pip

    Since your Python installation is for all users, this command must be
    run from an elevated shell, i.e. "run as administrator". If your user
    is in the administrators group and UAC is enabled (the default
    configuration), then the system logs you on without administrator
    rights and privileges. You have to elevate via the UAC consent prompt
    in order to run a program with administrator access.

    For installing other packages, in most cases you should run pip in a
    virtual environment, or at least just for the current user via --user. Installing to the system site packages should be limited to common
    packages that you need for system services and administration across
    multiple accounts, such as the pywin32 package.

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