0.下载安装包 https://www.python.org/downloads/release/Python-370/ 1.安装3.7之前要先安装一些依赖包 sudo apt-get update sudo apt-g
https://www.python.org/downloads/release/Python-370/
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus
sudo apt-get install libncursesw5-dev libgdbm-dev libc6-dev
sudo apt-get install zlib1g-dev libsqlite3-dev tk-dev
sudo apt-get install libssl-dev openssl
sudo apt-get install libffi-dev
./configure -prefix=/usr/local/python3.7 #配置安装目录
sudo make
sudo make install
ln -s /usr/local/python3.7/bin/python3.7 /usr/bin/python
python -V
--结束END--
本文标题: Linux安装Python3.7
本文链接: https://lsjlt.com/news/190831.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0