CentOS5.5上安装Python2.7及ez_setup和pip包 下载 首先从Python官方下载源代码包下载 编译安装 这里将python安装到/opt/python27文件夹下 tar xvf Python-2.7.10.tgz ./configure --prefix=/opt/python27 --enable-shared make sudo make install 安装完毕后.为了避免有时候执行python报以下的错误 /opt/python27/bin/python: er
pip of python3 installed is play well with Django and spider. #安装pip可以很好的使用django和爬虫 wget https://files.pythonhosted.org/packages/c4/44/e6b8056b6c8f2bfd1445cc9990f478930d8e3459e9dbf5b8e2d2922d64d3/pip-9.0.3.tar.gz tar -zxvf file cd directory python