Python Forum
Updating to Python 3.10 on Windows
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating to Python 3.10 on Windows
#1
I have Python 3.9.7 (x64) installed on my Windows 10. When I download the Python 3.10.0 installer, I don't see the option to update/replace my current installation! I can only install a new version in a different location.
I'm afraid that if I only select the same folder of the old one, something can break!

Thanks.
Reply
#2
There is no upgrade just install in new folder have both or delete one.
py can be used to access all version from Python.org,set Environment Variables Path to main version use most.
So here i a quick run see that have some version,and rally a lot more Anaconda/Miniconda,PyPy...ect
C:\
# Still main version
λ python -V
Python 3.9.5

C:\
λ pip -V
pip 21.2.4 from c:\python39\lib\site-packages\pip (python 3.9)

# Use 3.10
C:\
λ py -3.10 -V
Python 3.10.0

# All version i have from Python.org
C:\
λ py -0
Installed Pythons found by py Launcher for Windows
 -3.10-64 *
 -3.9-64
 -3.8-64
 -3.7-32
 -3.6-32
 -3.5-32
 -3.4-32
 -2.7-32

# The dead one
C:\
λ py -2.7 -V
Python 2.7.9
Python 3.9/3.8 and pip installation under Windows
Gone update for 3.10,but the installer(stable for many years now) has not change,so it's just the same ways.
rafaeldominiquini likes this post
Reply
#3
If I make a new installation in a different folder, can I move all packages installed in the previous installation to the new one before uninstalling the old?
Or backup the packages, uninstall the old one, install the new version and restore the packages?
I only want to have the latest version installed!

Thanks.
Reply
#4
(Oct-09-2021, 07:50 PM)rafaeldominiquini Wrote: If I make a new installation in a different folder, can I move all packages installed in the previous installation to the new one before uninstalling the old?
No,not move have to install new,or use requirements.txt as shown under.
I will never do this just install new.
Or i use virtual environment then is always new install of packages used.
# Use  with old
pip freeze > requirements.txt

# Install to new
pip install -r requirements.txt

# Upgrade all packages 
pip list -u
(Oct-09-2021, 07:50 PM)rafaeldominiquini Wrote: I only want to have the latest version installed!
3.10 is just released so not all 3-party packages are upgraded,therefor should have both installed for while.
rafaeldominiquini likes this post
Reply
#5
i would rather step on a lego than use windows

666+666*666/666-666
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Updating Python on Mac OS X (version 10.12.6) dl423 2 4,704 Jul-26-2018, 09:30 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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