ubuntu18 安装python2.7

1.python2.7安装

apt install python2.7

2.pip安装

apt install python-pip

3.确认

whereis pip
whereis pip3
whereis python2.7
whereis python3
ll /usr/bin/python*

Guess you like

Origin blog.csdn.net/qq_43309882/article/details/116486009