Python Forum
Python 2.7 and Ubuntu 19.04?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python 2.7 and Ubuntu 19.04?
#1
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!
Reply
#2
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
Reply
#3
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python in Singularity Container on Ubuntu erdemath 0 877 Aug-31-2022, 02:17 PM
Last Post: erdemath
  Python icons in Ubuntu KatManDEW 4 64,031 Aug-12-2022, 08:33 AM
Last Post: rob101
  Python 3.8 on Ubuntu 20.04 erdemath 1 1,333 Mar-07-2022, 09:31 PM
Last Post: Larz60+
  Python script in Ubuntu core Nithin_Kumar 1 3,334 May-11-2021, 01:14 AM
Last Post: Skaperen
  Python Program running a lot slower after change to Ubuntu hubenhau 1 2,843 Mar-02-2021, 05:01 PM
Last Post: Serafim
  Can't install pip for Python 3.7.4 in Ubuntu virtual OS netbids 9 6,164 Dec-31-2019, 04:42 AM
Last Post: netbids
  Python to .so library in Ubuntu for web server danowitz 0 2,048 Dec-20-2019, 06:42 AM
Last Post: danowitz
  (python-)rtmidi/Ubuntu Spiekes 1 2,349 Oct-09-2019, 10:27 PM
Last Post: metulburr
  Python and Ubuntu newbieAuggie2019 8 4,210 Sep-24-2019, 02:37 PM
Last Post: perfringo
  Changing Python Versions in Ubuntu 16.04 ErnestTBass 2 3,092 Jan-10-2019, 05:45 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020