Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

How do I update Python 3.5 to Python 3.7.4?

Post Reply
User avatar
Raccoon_JS
Forum Novice
Forum  Novice
Posts: 6
Joined: Thu Jul 11, 2019 8:30 pm

How do I update Python 3.5 to Python 3.7.4?

#1

Post by Raccoon_JS » Thu Jul 11, 2019 9:00 pm

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
Forum Novice
Forum  Novice
Posts: 37
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 » Thu Jul 11, 2019 9:10 pm

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

User avatar
Toasted-Bagel
Forum Novice
Forum  Novice
Posts: 41
Joined: Sat Dec 01, 2018 12:39 am

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

#3

Post by Toasted-Bagel » Mon Jul 15, 2019 10:16 pm

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
Forum Novice
Forum  Novice
Posts: 37
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 » Mon Jul 15, 2019 10:31 pm

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”