How do I update Python 3.5 to Python 3.7.4?

Message
Author
Raccoon_JS

How do I update Python 3.5 to Python 3.7.4?

#1 Post by Raccoon_JS »

I want toupgrade Python3 to the latest release. How am I suppose to do it manually in MX Linux even though I typed "sudo apt upgrade python3" and gave me "python3 is already the newest version (3.5.3-1)".

teddyk67
Posts: 35
Joined: Sun May 12, 2019 4:50 pm

Re: How do I update Python 3.5 to Python 3.7.4?

#2 Post by teddyk67 »

Python 3.7.2 is in the MX Test repo. Use MX Package Installer to install.

Toasted-Bagel

Re: How do I update Python 3.5 to Python 3.7.4?

#3 Post by Toasted-Bagel »

Thank you, this was also helpful to me.

I tried to make install it and ran into all kinds of errors so Im glad there is a mx package

Code: Select all

zipimport.ZipImportError: can't decompress data; zlib not available
Makefile:1132: recipe for target 'install' failed
make: *** [install] Error 1

teddyk67
Posts: 35
Joined: Sun May 12, 2019 4:50 pm

Re: How do I update Python 3.5 to Python 3.7.4?

#4 Post by teddyk67 »

Install zlib1g-dev.

EDIT: When I installed 3.7.2 from the test repo, I had to change 2 linked files in /usr/bin to point to the correct version because the original linked files pointed to 3.5.3.

Post Reply

Return to “Software / Configuration”