ARM架构Linux环境安装python2.7.9

时间:2019-10-18 21:24:05   收藏:0   阅读:480

1、下载python

# wget https://www.python.org/ftp/python/2.7.9/Python-2.7.9.tgz

2、解压、编译安装

# tar -zxvf Python-2.7.9.tgz
# cd Python-2.7.9
# ./configure --prefix=/usr/local/python-2.7.9
# make
# make install
 
3、系统自带了python版本,我们需要为新安装的版本添加一个软链
# ln -s /usr/local/python-2.7.9/bin/python /usr/bin/python27
 
4、使用
python27 helloworld.py

原文:https://www.cnblogs.com/ming-4/p/11700703.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!