ubuntu安装python3.7.3

Step 1 – Prerequsiteis

八步网站建设公司创新互联建站,八步网站设计制作,有大型网站制作公司丰富经验。已为八步上千余家提供企业网站建设服务。企业网站搭建\成都外贸网站制作要多少钱,请找那个售后服务好的八步做网站的公司定做!

sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev \
    libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev

Step 2 – Download Python 3.7

cd /usr/src
sudo wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz
sudo tar xzf Python-3.7.3.tgz

Step 3 – Compile Python Source

cd Python-3.7.3
sudo ./configure --enable-optimizations
sudo make altinstall

Step 4 – Check Python Version

python3.7 -V

网页标题:ubuntu安装python3.7.3
文章位置:http://cdiso.cn/article/jhjecd.html

其他资讯