ubuntu18安装python和pycharm

1、ubuntu18自带python3.6.9

2、安装python3和python2

 1、sudo add-apt-repository ppa:deadsnakes/ppa
 2、sudo apt install python3.8
 3、sudo apt install python2.7
 您可以在终端中运行命令以清除PPA,PPA也会删除已安装的3.8软件包:

sudo apt install ppa-purge && sudo ppa-purge ppa:deadsnakes/ppaubuntu18安装python和pycharm_第1张图片

3、安装pycharm

https://blog.csdn.net/u014171091/article/details/95824918

4、安装pip和pip3

 1、sudo apt install python-pip
 2、sudo apt install python3-pip
 3、安装开发工具
  1、sudo apt install build-essential python-dev python-setuptools
  2、sudo apt install build-essential python3-dev python3-setuptools

你可能感兴趣的:(ubuntu18.04操作)