|
From: | Max Nikulin |
Subject: | Re: [SOLVED] (was: [downgrading to matlab 2019a and using 3.5 NOW does not work neither]) |
Date: | Mon, 15 Nov 2021 21:51:32 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 15/11/2021 20:31, Uwe Brauer wrote:
Advice: don't try to upgrade python on a given Ubuntu distribution!!!!
Anover advice:1. Avoid unsupported versions of software (Ubuntu-16.04 has only payed support for more than a year) and localize its usage if there is no other way.
* reinstall jupyter #+begin_src sudo dpkg --purge python3-ptyprocess sudo -H pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
2. Use venv (virtualenv for Python-2.7) to keep packages installed by pip isolated from system .deb's.
> I need still 2.7 to compile mercurial, since I rely on some extensions > for mercurial that do not work under 3.XUbuntu-20.04 has (already unsupported) Python-2.7 in addition to 3.8 and 3.9.
It is better to keep primary system up to date and to use containers (LXC, docker, etc.) or fully virtualized systems for special needs.
[Prev in Thread] | Current Thread | [Next in Thread] |