ubuntu pip install a local library, an error 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

My solution is to elevate privileges to root

From the previous pip install * replace sudo pip install * so no problem

Published 127 original articles · won praise 35 · Views 100,000 +

Guess you like

Origin blog.csdn.net/shunzi2016/article/details/104842755