Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

script folder is empty

319 views
Skip to first unread message

Scott Baer

unread,
Jul 18, 2022, 1:33:02 AM7/18/22
to
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
bae...@gmail.com

dn

unread,
Jul 18, 2022, 1:42:37 AM7/18/22
to
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

Dan Stromberg

unread,
Jul 18, 2022, 9:08:17 AM7/18/22
to
This is another reason to use:
python -m pip ...
...instead of:
pip ...

(Or many systems want python3 -m pip)

HTH
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Eryk Sun

unread,
Jul 18, 2022, 1:16:23 PM7/18/22
to
On 7/17/22, Scott Baer <bae...@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.
0 new messages