centosminimal6.3装python2.7.11和ipython1.2.1

首先下载安装包,这个上网搜

Python-2.7.11.tar.xz

ipython-1.2.1.tar.gz

安装环境

yum install -y gcc gcc-c++ wget readline-devel xz make

xz -d Python-2.7.11.tar.xz

tar -xvf Python-2.7.11.tar
cd Python-2.7.11
./configure --prefix=/usr/local/python27
make && make install
ln -sv /usr/local/python27/bin/python2.7 /usr/bin/python27

cd ..

tar -xvf ipython-1.2.1.tar.gz
cd ipython-1.2.1
python27 setup.py build  #没问题就安装吧,有问题再装其他模块,这里我没遇到,继续安装吧。

python27 setup.py install
ln -sv /usr/local/python27/bin/ipython /usr/bin/

时间: 2024-10-10 09:51:21

centosminimal6.3装python2.7.11和ipython1.2.1的相关文章

python2.7.11安装pygame包

环境 win7家庭版 python2.7.11 1.在python官网下载对应的pygame包,我这里下载的是pygame-1.9.2a0-hg_8d9e6a1f2635%2B.win-amd64-py2.7.msi,下载好直接点击安装就可以 2.安装python包的管理工具pip 下载地址:https://pypi.python.org/pypi/pip#downloads  下载好pip-9.0.1.tar解压到任意文件夹下进入终端 输入命令:  python setup.py instal

ubuntu优麒麟 安装python2.7.11

wget https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tar.xz xz -d Python-2.7.11.tar.xz tar -xvf  Python-2.7.11.tar cd Python-2.7.11 ./configure make sudo make install

升级完python2.7.11后问题

安装完python2.7.11后用了几天挺好,但是今天用yum的时候发现了问题 [[email protected] yum.repos.d]# yum listThere was a problem importing one of the Python modulesrequired to run yum. The error leading to this problem was: No module named yum Please install a package which pro

Windows2012中Python2.7.11+Python3.4.4+Pycharm

下载软件包 Python2.7.11:  https://www.python.org/ftp/python/2.7.11/python-2.7.11.amd64.msi Python3.4.4:  https://www.python.org/ftp/python/3.4.4/python-3.4.4.amd64.msi PyCharm: https://d1opms6zj7jotq.cloudfront.net/python/pycharm-professional-2016.1.2.exe

Ubuntu 16 编译装python2.7

Ubuntu 16自带 python3 ,有很多库无法使用,决定装 python2.7 试了试,好像 apt-get 装不上. 使用源码,编译安装. wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz tar zxvf Python-2.7.13.tgz cd Python-2.7.13 ./configure --prefix=/usr/local/python2.7 # 安装这里 make && make in

windows下python2.7.11的安装

我是一个代码小白,只会写sql,现在自学python,目的是做数据分析. 同事讲,很多包只与python2.7兼容,与python3.5还不兼容,所以果断选择python2.7.11. Windows下python安装: 下载官网网址: https://www.python.org/downloads/release/python-2711/ 如何查看电脑是64位还是32位:http://jingyan.baidu.com/article/3d69c551843af5f0ce02d752.htm

centos安装python2.7.11

源码安装之后yum会不工作,修改yum #!/usr/bin/python 改成#!/usr/bin/python2.4(系统自带的老版本) 然后就可以工作了. 安装pip http://pip-cn.readthedocs.org/en/latest/installing.html

CentOs6.7 python2.6升级到2.7.11

1.查看当前python的版本 #python -V Python 2.6.6 2.下载Python-2.7.11 wget https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tgz 3.解压并进入目录 tar zxvf Python-2.7.11.tgz cd Python-2.7.11 4.编译安装 ./configure make all make install make clean make disclean 5.查看安装后版

笔记:centos6.5自带python2.6一键升级到2.7.11

系统环境:CentOS6.5 final 自带python版本:2.6.6 升级目标:版本python-2.7.11,同时安装好setuptools,pip以及模块操作的tab补全功能 需要用到的软件已经统一打包好,免费下载入口:http://down.51cto.com/data/2223431 执行脚本才是重点,51cto下载入口:1key_update_python_2.7.11.sh 升级完成后效果 [[email protected] ~]# python --version Pyth