CentOS6.4中安装Python-Pip 以及Phyton gevent
一、安装Phyton-pip
首先要安装 Setuptools
wget --no-check-certificate https://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg sudo sh ./setuptools-0.6c11-py2.6.egg
安装PIP
wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-1.4.tar.gz tar -zxvf ./pip-1.4.tar.gz cd pip-1.4 sudo python setup.py install
二、安装Phyton Gevent
方式一:
sudo pip install gevent gevent-websocket
方式二:请参见:http://www.cnblogs.com/CHONGCHONG2008/archive/2012/12/10/2811329.html
转载请注明出处,谢谢