python - 为什么我的 pip3 Ansible 安装失败?在 /tmp/pip_build_root/cryptography 中失败,错误代码为 1
问题描述
在我的流浪虚拟机上
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
解决方案
推荐阅读
- google-analytics - 分析中实时出现奇怪的结果,不知道该怎么做
- jpa - 我需要帮助来显示表的 ID,但我有它的内存地址
- python - How to get a variable loaded from .Xresources?
- python - 是否可以从消息不和谐 python 中获取某人的 IP 地址
- amazon-web-services - AWS API >> 如何公开一种方法并使用 API 密钥对其余方法进行身份验证?
- javascript - 如何保持部署在谷歌云应用引擎上的 node.js 应用的统计信息并保持我的数据持久化
- c# - 为 Window1 中 ViewModel 的 TextBlock.Text 赋值,并将 TextBlock.Text 的值用于 Window2
- sql - 在 sql oracle 中有效查找已删除的位置
- javascript - React 路由器:如何导入函数
- java - 编写代码来处理单词列表并修剪单词中的任何空格