Python 官方文档:入门教程 => 点击学习
Centos 6.5 安装python 3.5本篇文章来源于 linux公社网站(www.linuxidc.com) 原文链接:Http://www.linuxidc.com/Linux/2015-11/124908.htm1、CentO
本篇文章来源于 linux公社网站(www.linuxidc.com) 原文链接:Http://www.linuxidc.com/Linux/2015-11/124908.htm
1、CentOS6.5 安装Python 的依赖包
yum groupinstall "Development tools"
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz
tar xf Python-3.5.0.tgz
cd Python-3.5.0
./configure --prefix=/usr/local --enable-shared
make
make install
ln -s /usr/local/bin/python3 /usr/bin/python3
3、在运行Python之前需要配置库:
echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf
ldconfig
--结束END--
本文标题: python3_01.python3.
本文链接: https://lsjlt.com/news/192301.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0