ubuntu pip 安装本地库,报错 Storing debug log for failure in /tmp/tmp5qtn2U

Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-c34xRZ-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-e6oiQb-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-c34xRZ-build
Storing debug log for failure in /tmp/tmp5qtn2U

我的解决方案是将权限提升至root

由之前的pip install * 换成sudo pip install * 这样就没问题了

发布了127 篇原创文章 · 获赞 35 · 访问量 10万+

猜你喜欢

转载自blog.csdn.net/shunzi2016/article/details/104842755