Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-pac

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-pac相关的知识,希望对你有一定的参考价值。

root@yxg-virtual-machine:/dlib# pip install face_recognitionCollecting face_recognition Downloading face_recognition-1.0.0-py2.py3-none-any.whlCollecting dlib>=19.5 (from face_recognition) Downloading dlib-19.7.0.tar.gz (4.0MB) 100% |????????????????????????????????| 4.0MB 11kB/s Collecting scipy>=0.17.0 (from face_recognition) Downloading scipy-1.0.0-cp27-cp27mu-manylinux1_x86_64.whl (46.7MB) 100% |????????????????????????????????| 46.7MB 7.9kB/s Collecting numpy (from face_recognition) Downloading numpy-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl (16.6MB) 64% |????????????????????? | 10.7MB 10kB/s eta 0:09:14Exception:Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run wb.build(autobuilding=True) File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url hashes=hashes File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _download_http_url _download_url(resp, link, content_file, hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _download_url hashes.check_against_chunks(downloaded_chunks) File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks for chunk in chunks: File "/usr/lib/python2.7/dist-packages/pip/download.py", line 571, in written_chunks for chunk in chunks: File "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", line 139, in iter for x in it: File "/usr/lib/python2.7/dist-packages/pip/download.py", line 560, in resp_read decode_content=False): File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/response.py", line 432, in stream data = self.read(amt=amt, decode_content=decode_content)

参考技术A 换个目录重装

以上是关于Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-pac的主要内容,如果未能解决你的问题,请参考以下文章

pip install *:ERROR: Exception: Traceback (most recent call last)

An exception has occurred, use %tb to see the full traceback.----parser.parse_args()报错

解决ERROR: Could not find a version that satisfies the requirement 问题及 ERROR: Exception:Traceback

try...except Exception

try...except Exception

Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-pac