Python Forum

Full Version: I'm trying to install python 3.11.11 on windows 10 - it doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i added environment variables, but when i try to run python setup.py install command via cmd nothing happens. just line is updated

if i do python setup.py install from the corresponding folder, i get message - F:\Python-3.11.11\Python-3.11.11>F:\Python-3.11.11\Python-3.11.11\python.exe setup.py install
"F:\Python-3.11.11\Python-3.11.11\python.exe" is not recognized as an internal or external
command, operable program or batch file.

neither copilot nor chtgpt could solve the problem.

i need version 3.11.11

how to install it? i tried on 2 laptops.

[Image: 3da95f05-fd7d-4c90-ae37-4c2210e65b28.png]

[Image: 04c28580-e1d2-4f81-ab17-a6707c90ae65.png]
Why do you have a directory named Python-3.11.11 inside F:\Python-3.11.11? That looks odd to me.
In cmd do py --list-paths.
Now you will get all Python version install with full Paths.
Now add that path you get path in System Variables Path not User Variables(delete all Python path there).
Example in this image see that also add that Scripts folder so pip works.
Testet python and pip in cmd example.
C:\>python --version
Python 3.12.2

C:\>pip --version
pip 24.0 from C:\Python312\Lib\site-packages\pip (python 3.12)
As mention F:\Python-3.11.11\Python-3.11.11\python.exe path looks strange.

If you wonder why py always work and bypass environment variables,
is because when install Python it will place py.exe in C:\windows folder then will always be in System Path.