我一直在尝试在ubuntu 14.04 LTS上安装加密python-3.4.3。下载libbfi和libssl之后,当我使用pip3来安装加密时。这是我得到: -加密安装与pip3
Command /usr/bin/python3 -c "import setuptools,
tokenize;__file__='/tmp/pip_build_gogol/cryptography/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__,
'exec'))" install --record /tmp/pip-s1t_s_oy-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_gogol/cryptography Storing debug log for failure in
/home/gogol/.pip/pip.log
如果我再次运行pip3安装,这就是我所得到的。
[email protected]:~$ pip3 install cryptography
Traceback (most recent call last):
File "/usr/bin/pip3", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>
import packaging.version
ImportError: No module named 'packaging'
[email protected]:~$
请问,任何人都可以帮我吗?我已经广泛地查看了关于密码学的所有答案,但仍然无法做出任何解释。详细的答案会非常有帮助。提前致谢。
非常感谢你!它工作完美! –