Python Forum
Help with Upgrading to Python 3.8
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with Upgrading to Python 3.8
#1
Hi Python Community.

I am working on learning Python on my MacBook Pro running Catalina. The current version of Python on the system is 2.7.16. I am trying to use PyCharm as my IDE and it is picking up the 2.7.16 and the course is coding on 3.7 .

I have downloaded and installed Python 3.8 from Python.org but when I run in a terminal "python3 --version" it shows me "Python 3.7.3". I was expecting to see "Python 3.8.1".

There is something I'm doing wrong and would love your help to confirm I am running 3.8 on my system.

Thank you in advance,
Reply
#2
You can have multiple versions of Python installed and pick the one you need in many ways depending on the OS and IDE you're using.

PyCharm is easy: File > Settings > Project > Project Interpreter: <Pick the version from the pulldown>

In Windows OS you need to modify the %PATH% Environment Variable. I have no clue about Macs. Probably in '/etc/path' if it's unix-like. Do a Google search for a guide on it...

EDIT: You also might want to check with your course instructor before upgrading from the version they're using. Sometimes there are good reasons to have the whole class running the same version. Wink

EDIT2: If you don't see all installed versions listed in the PyCharm settings you may need to click the cog icon to see all the interpreter and environment options.
"So, brave knights, if you do doubt your courage or your strength, come no further, for death awaits you all with nasty, big, pointy teeth!" - Tim the Enchanter
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading from 2 to 3 and having file write problems KenHorse 2 1,472 May-08-2022, 09:47 PM
Last Post: KenHorse
  Virtual environment and upgrading python 3.5 to 3.9 NeilUK 4 12,085 Jan-24-2021, 01:02 PM
Last Post: snippsat
  Error in Mysql Client when upgrading Django Abi 0 1,869 Sep-21-2020, 06:11 AM
Last Post: Abi
  Pymssql library failing when upgrading to Python 3.7 - win32 issue stixmagiggins 5 7,414 Jun-24-2019, 06:46 AM
Last Post: snippsat
  Upgrading to Python 3.5.2 ErnestTBass 6 3,695 Jan-04-2019, 09:22 PM
Last Post: metulburr
  error in upgrading python 24. to 2.7 singhraj3110 3 3,701 Jul-12-2018, 12:18 PM
Last Post: Larz60+
  upgrading google-api generates an error ineuw 3 3,680 Jul-07-2018, 06:47 AM
Last Post: ineuw
  upgrading python package amka 5 5,859 Nov-18-2017, 02:44 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