python3 錯誤解決

錯誤信息:python

-----------------------------------------------------------------------------------------------------------ui

Failed building wheel for cryptographycode

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-kqw5sdzp/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-w4uldwqk-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-kqw5sdzp/cryptography/token

-----------------------------------------------------------------------------------------------------------ip

 

執行下面的命令,下面的包按須要安裝,通常是缺乏libssl-devssl

我就是隻安裝了libssl-dev這個就能夠了get

sudo apt-get install build-essential libssl-dev libffi-dev python-dev python3-dev
相關文章
相關標籤/搜索