is there a way to install Python 2.7 on Ubuntu 18.04? I tried this command but it isn't working.
sudo apt install python-minimal
Is there a way to install it manually? I try python 2.7 for a software that didn't support python 3.
Thanks!
Run these commands to ensure your repositories are up to date before installing
sudo apt update
sudo apt upgrade
sudo apt install python2.7
Then to install pip for python 2:
sudo apt install python-pip
As my comment has solved the issue, I will develop it a little more in this answer for further reference.
Try using aptitude, it better manage conflicting packages for you:
sudo aptitude install python-minimal
Reference: https://askubuntu.com/a/451078/1006720
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.