Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upgrade Python Version ?
#1
Hi guys, how do I update python version 2.7.16 to version 3.8.5 or more current ?
Reply
#2
Generally you just install the newer version. Then you need to either call it explicitly, or change your system/account defaults to choose it first if that's what you want.

If you're on windows, the installer will probably prompt you to add it to the system PATH. For linux, you'll probably want to put it in your account's login files.

It's not a good idea to remove an older version if it came with the operating system. OS tools may be depending on that particular version. Better to just install a new one and use the new one.
Reply
#3
There is an option (you must click on) that will change environment variables for you.
Your old version will remain, but not be the one that starts when you type python from command line.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  run part of a script with a different version of Python jdog 2 444 Jan-09-2024, 08:49 PM
Last Post: jdog
  How to find out from outside Python (in Windows) the current version of Python? pstein 4 732 Oct-04-2023, 10:01 AM
Last Post: snippsat
  How to resolve version conflicts in Python? taeefnajib 0 908 Apr-27-2023, 08:37 PM
Last Post: taeefnajib
  Python venv and PIP version issue JanOlvegg 2 1,252 Feb-22-2023, 02:22 AM
Last Post: JanOlvegg
  Python Version upgrade nitinkukreja 1 894 Feb-04-2023, 10:27 PM
Last Post: Larz60+
  Upgrade makes Code Error kucingkembar 6 3,086 Jul-28-2022, 06:44 PM
Last Post: kucingkembar
  Can't update new python version on Pycharm GOKUUUU 6 3,794 Jul-23-2022, 09:24 PM
Last Post: GOKUUUU
  pip doesn't work after Python upgrade Pavel_47 10 4,185 May-30-2022, 03:31 PM
Last Post: bowlofred
  Building python (3.9.5) with different libexpat version (2.4.6) raghupcr 0 1,304 Feb-25-2022, 11:29 AM
Last Post: raghupcr
  Python keeps running the old version of the code quest 2 3,749 Jan-20-2022, 07:34 AM
Last Post: ThiefOfTime

Forum Jump:

User Panel Messages

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