Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python version on Linux
#1
Hello, I'm running Linux Mint Cinnamon 18.3 64-bit and I want to learn Python 3. When I write
python --version
in the Terminal I get
user@user-Lenovo-ideapad-110-17IKB ~ $ python --version
Python 2.7.12
When I write
sudo apt-get install python3.5
in the Terminal I get
user@user-Lenovo-ideapad-110-17IKB ~ $ sudo apt-get install python3.5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3.5 is already the newest version (3.5.2-2ubuntu0~16.04.9).
The following packages were automatically installed and are no longer required:
  codeblocks-common libcodeblocks0 libwxbase3.0-0v5 libwxgtk3.0-0v5
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
How do I know which version I'm running?
Reply


Messages In This Thread
Python version on Linux - by whois1230 - Apr-09-2020, 01:07 PM
RE: Python version on Linux - by buran - Apr-09-2020, 01:22 PM
RE: Python version on Linux - by whois1230 - Apr-10-2020, 06:54 PM
RE: Python version on Linux - by buran - Apr-10-2020, 06:57 PM
RE: Python version on Linux - by whois1230 - Apr-10-2020, 07:01 PM
RE: Python version on Linux - by buran - Apr-10-2020, 07:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is possible to run the python command to call python script on linux? cuten222 6 738 Jan-30-2024, 09:05 PM
Last Post: DeaD_EyE
  run part of a script with a different version of Python jdog 2 463 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 756 Oct-04-2023, 10:01 AM
Last Post: snippsat
  How to resolve version conflicts in Python? taeefnajib 0 940 Apr-27-2023, 08:37 PM
Last Post: taeefnajib
  Python venv and PIP version issue JanOlvegg 2 1,281 Feb-22-2023, 02:22 AM
Last Post: JanOlvegg
  Python Version upgrade nitinkukreja 1 914 Feb-04-2023, 10:27 PM
Last Post: Larz60+
  Can't update new python version on Pycharm GOKUUUU 6 3,878 Jul-23-2022, 09:24 PM
Last Post: GOKUUUU
  How to use a variable in linux command in python code? ilknurg 2 1,614 Mar-14-2022, 07:21 AM
Last Post: ndc85430
  Building python (3.9.5) with different libexpat version (2.4.6) raghupcr 0 1,321 Feb-25-2022, 11:29 AM
Last Post: raghupcr
  Python keeps running the old version of the code quest 2 3,790 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