1.安装python3.5可能使用的依赖yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel -y 2.到pytho
1.安装python3.5可能使用的依赖
yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel -y
2.到python官网找到下载路径, 用wget下载
wget https://www.Python.org/ftp/python/3.5.1/Python-3.5.1.tgz
3.解压tgz包
tar -zxvf Python-3.5.1.tgz
4把python移到/usr/local下面
mv Python-3.5.1 /usr/local
5进入python目录
cd /usr/local/Python-3.5.1/
配置安装
./configure && make && make install
6. ln -s /usr/local/bin/python3.5 /usr/bin/python3.5
参考: Https://blog.csdn.net/wgy901/article/details/81050163
--结束END--
本文标题: python3.5安装_linux系统环
本文链接: https://lsjlt.com/news/185582.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