首页 > 编程语言 > 详细

Python从2.7.5升级到3.6.5

时间:2018-05-27 23:07:56      阅读:323      评论:0      收藏:0      [点我收藏+]

Python从2.7.5升级到3.6.5
学习了:https://blog.csdn.net/liang19890820/article/details/51079633

wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
tar -zxvf Python-3.6.5.tgz
cd Python-3.6.5
./configure
make
sudo make install
sudo mv /usr/bin/python /usr/bin/python.bak
sudo ln -s /usr/local/bin/python3 /usr/bin/python
sudo vi /usr/bin/yum
sudo vi /usr/libexec/urlgrabber-ext-down

进行pip安装:

wget https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz
tar -zxvf pip-10.0.1.tar.gz
sudo python setup.py install
pip install requests
pip install pymysql
pip list

 

Python从2.7.5升级到3.6.5

原文:https://www.cnblogs.com/stono/p/9097904.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!