python开发环境软件包安装相关 failed with error code 1 in /tmp/pip-build-vn_f_e1n/psutil/
指定源安装 pip install git+https://github.com/xxxxxx.git
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
python装包失败
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-vn_f_e1n/psutil/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-vs9hh87b-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-vn_f_e1n/psutil/
原因pip版本过低
python -m pip install --upgrade pip 升级pip包
遇到随时补充
posted on 2019-11-14 17:54 zhangmingda 阅读(973) 评论(0) 编辑 收藏 举报