ubuntu 18.04 - python 3.8.3编译安装

sudo apt-get install python-setuptools libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl libffi-dev libbz2-dev python-pip python-dev build-essential libgl1-mesa-dev libclang-dev libdbm-deep-perl libbz2-dev libc6-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev libncurses5-dev libncursesw5-dev libreadline-gplv2-dev libsqlite3-dev libssl-dev openssl sqlite3 tcl-dev tcl8.6-dev tk-dev tk8.6-dev uuid-dev zlib1g-dev
下载源代码
wget https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz
tar xf Python-3.8.3.tgz
cd Python-3.8.3/
./configure --prefix=/usr/local/Python-3.8.3
make -j4
sudo make install

下载:
https://download.jetbrains.8686c.com/python/pycharm-professional-2020.1.2.tar.gz

你可能感兴趣的:(ubuntu 18.04 - python 3.8.3编译安装)