标签 "pip" 下的文章

修改~/.pip/pip.conf文件,如果没有就创建一个,写入如下内容(以清华源为例):[global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple[install]trusted-host = pypi.tuna.tsinghua.edu.cn

安装依赖:yum groupinstall "Development tools" yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel 安装python2.7:wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.

安装依赖:yum groupinstall "Development tools" yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel 安装python2.7:wget https://www.python.org/ftp/python/2.7.13/Python-2.7.1