Python Forum
Ver 3.11 installed but not in path
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ver 3.11 installed but not in path
#1
I installed node.js. This asked me to install chocolaty (I think that's what it's called). This in turn decided to install Python 3.11.

I looked in the path settings, Python 3.11 isn't there.
Should I manually add and replace 3.10?

3.10 seems to be installed here: C:\Users\omar\AppData\Local\Programs\Python.
But 3.11 doesn't seem to be installed there.

Confused.

Thanks.
Reply
#2
(Nov-02-2022, 08:48 PM)omar Wrote: I installed node.js. This asked me to install chocolaty (I think that's what it's called). This in turn decided to install Python 3.11.
You could have choosen to do minimal(Node install) then just Node and Npm would be installed.
Can add it to Path to would eg be someting like C:\ProgramData\chocolatey\lib\python311
Or just install python 3.11 from python.org if need it.
I install simple like Path eg C:\pyhon\310 or C:\pyhon\311.

If you just figure where stuff install is and and how Os Path works,
then is no problems to have many Python versions installed(i have a lot💥)
Some from Python.org,not inculde Anaconda/Miniconda,PyPy ect.
G:\div_code
λ py --list
Installed Pythons found by py Launcher for Windows
 -3.10-64 *
 -3.9-64
 -3.7-32
 -3.6-32
 -3.4-32
 -2.7-32
omar likes this post
Reply
#3
@snippsat Thanks for the reply.

Hmm... I'll add to the path if needed.

I just googled how to find the current version...
I typed py --version
It says: Python 3.11.0

So... now wondering how it got the latest version? Think
I haven't added to the path yet

How bizaare! Smile
Reply
#4
(Nov-03-2022, 01:58 AM)omar Wrote: I typed py --version
It says: Python 3.11.0
py will not use Os Path,so it wil findl your lastet version.
Example i have python 3.10 set in Path when so type python it will use Os Path.
py will find the lastet version on Os,not using Path.
G:\div_code\answer
λ py -V
Python 3.11.0

G:\div_code\answer
λ python -V
Python 3.10.5

# <py> can run all verions the old dead one
G:\div_code\answer
λ py -2.7 -V
Python 2.7.9
If you don't now about py do py --help to see commands.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,239 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  .pth file does not show up in sys.path when configuring path. arjunsingh2908 2 5,802 Jul-03-2018, 11:16 AM
Last Post: arjunsingh2908

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020