Ubuntu安装Python的包管理工具Pip以及环境配置
首先安装pip sudo tar -xf pip-10.0.0b2.tar.gz /opt wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py python get-pip.py --user pip install -U pip pip install numpy python -c 'import numpy; numpy.test() . pip压缩包百度云链接: https://pan.baidu.com/s/13MaCbsNbqHF2lG7aUl7XEg 密码: r9vy 注:get-pip.py是一个自动化脚本,成功的话会出现如下结果 Requirement already up-to-date: pip in /psc/home/huanghuan/.local/lib/python2.7/site-packages 重点:把 /psc/home/huanghuan/.local/lib/python2.7/site-packages放在PYTHONPATH环境变量里 失败的话主要是 ~/.ca...
