为什么我的pip3 Ansible安装失败?失败,错误代码为/ tmp / pip_build_root / cryptography

时间:2019-05-03 09:08:13

标签: python python-3.x ansible vagrant

在我的Vagrant VM上

sudo pip3 install ansible

它不起作用

Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-2wl0xdne-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/cryptography
Storing debug log for failure in /home/vagrant/.pip/pip.log

我不明白这一点。 / home / vagrant目录实际在哪里? 该如何解决?

Python3版本

vagrant@vagrant-ubuntu-trusty-64:~$ python3 --version
Python 3.4.3

0 个答案:

没有答案
相关问题