Python Forum
How should I upgrade python to 3.8.0?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How should I upgrade python to 3.8.0?
#4
(Oct-20-2019, 12:13 PM)newbieAuggie2019 Wrote: How can I upgrade python with pip?
You can not that's only for pip and modules/packages.
(Oct-20-2019, 11:11 AM)metulburr Wrote: 2) If it is not possible to upgrade python with pip, I don't want to keep several versions of python, how can I do this without loosing all my little programs that are inside my folder python37?
It's no problem to have several version i have had up to 7-8 and also Anaconda/PyPy..ect.

If you want to test out Python 3.8 just install,but can still keep 37 as main version in Windows Path.
Can access all version using py
# Main version in Path
C:\
λ python -V
Python 3.7.3

# Main version 
C:\
λ pip -V
pip 19.3.1 from c:\python37\lib\site-packages\pip (python 3.7)

# using py
C:\
λ py -3.8 -V
Python 3.8.0

C:\
λ py -2.7 -V
Python 2.7.9

C:\
λ py -3.4 -V
Python 3.4.2

# Example test out new walrus operator
C:\
λ py -3.8
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> lst = []
>>> while (current := input("Write something: ")) != "quit":
...     lst.append(current)
...
Write something: Python forum
Write something: hello
Write something: quit
>>> lst
['Python forum', 'hello']
So i talk about Environment Variables Path for main version.
If i copy out image from Python 3.6/3.7 and pip installation under Windows
[Image: GUgLry.jpg]
If i had changed to Python 3.8 here,then it will be the main version.
Reply


Messages In This Thread
RE: How should I upgrade python to 3.8.0? - by snippsat - Oct-20-2019, 02:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrade to python 3 opinion hokie1999 5 2,953 May-11-2021, 06:42 PM
Last Post: hokie1999
  Need help to upgrade Python 3.X Ritesh 3 3,837 Feb-18-2020, 04:06 AM
Last Post: Ritesh
  Any command to upgrade Python version 2.X to latest KarthiK 7 4,277 Feb-15-2020, 07:25 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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