Hi,
I am running Debian testing and have installed python 3.8.2.
For a particular software I now need python 3.7.
Is there any sensible way that I could install such an older version via aptitude so that both versions can coexist?
Many thanks!
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
installing older version of python3
- sunrat
- Administrator
- Posts: 6476
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: installing older version of python3
Your mysterious undisclosed "particular software" will probably work with python3.8 so just symlink it:
or maybe better:
This actually and surprisingly worked for me for one application which was looking for python2 after I had removed python2 in sid, just symlinked python2 to python3. Not guaranteed that would work for all python2 applications but much more likely it would work for python3.7 to 3.8.
Code: Select all
ln -s /usr/bin/python3.8 python3.7
Code: Select all
ln -s /usr/bin/python3 python3.7
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: installing older version of python3
Actually (and not so surprisingly as it is the topic of several issues) the GUI-framework kivy does not work (yet) with python 3.8.
Unfortunately I want to run katrain which does depend on it, so your hack does not work for me.
Unfortunately I want to run katrain which does depend on it, so your hack does not work for me.
- sunrat
- Administrator
- Posts: 6476
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: installing older version of python3
Looks like you can install kivy on python3.8 with pip - https://github.com/kivy/kivy/issues/656 ... -560039155
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: installing older version of python3
It's not working with pip on my system.
Please do not "help" me anymore.
Please do not "help" me anymore.
- sunrat
- Administrator
- Posts: 6476
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: installing older version of python3
You're welcome.morgon wrote:It's not working with pip on my system.
Please do not "help" me anymore.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: installing older version of python3
morgon wrote:Is there any sensible way that I could install such an older version via aptitude so that both versions can coexist?
Code: Select all
update-alternatives
Re: installing older version of python3
Just change the version number to use a different python version.
1)Download the latest versions of python from python.org/downloads by selecting the relevant version for your system.
2)Run the installer and select Add python 3. x to the path to set path automatically in python 3.
official site
1)Download the latest versions of python from python.org/downloads by selecting the relevant version for your system.
2)Run the installer and select Add python 3. x to the path to set path automatically in python 3.
official site