Python Forum
Python 2.7 and Ubuntu 19.04? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python 2.7 and Ubuntu 19.04? (/thread-18640.html)



Python 2.7 and Ubuntu 19.04? - ProDigit - May-25-2019

Seems like I can't get a program (Folding at home) to run, that has Python 2.7 dependencies in Ubuntu 19.04, which comes with Python 3 by default.
It works fine in Ubuntu 18.04, and 18.10 which still are supplied with working Python 2 installers.

I think it has to do with Ubuntu 19.04 coming with Linux Kernel 5, vs Kernel 4 for 18.04.


What's the latest info? Updates? Fixes?

Thanks!


RE: Python 2.7 and Ubuntu 19.04? - Gribouillis - May-25-2019

I don't have 19.04 yet but you can try
Output:
sudo apt install python2.7
then use /usr/bin/python2.7 instead of /usr/bin/python


RE: Python 2.7 and Ubuntu 19.04? - snippsat - May-25-2019

If use pyenv then can change to 2.7 or whatever version want to use.
pyenv Simple Python Version Management.
Python 3.7.3 as default and no Python 2(without install) is of course the right way to go.