error: command 'x86_64-linux-gnu-gcc' failed with exit status 1” in virtualenv
来源:互联网 发布:软件行业 技术规范 编辑:程序博客网 时间:2024/05/01 15:34
Environment: Linux Mint 17 Cinnamon.
This error is displayed:
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
when attempting the following in a virtualenv
:
pip install lxmlpip install pillowpip install pycryptopip install pymongo (fails but still shows in pip freeze)
There are several solutions here that recommend installing python2.7-dev
:
Installing Pillow error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Installing lxml in virtualenv via pip install error: command 'x86_64-linux-gnu-gcc' failed
Pillow installation error: command 'gcc' failed with exit status 1
fatal error: Python.h: No such file or directory
I am confused by this recommendation however because it is my understanding that using something like:
sudo apt-get install python2.7-dev
would add this to the main *system* instance of Python, rather that the one in virtualenv
. (see - http://unix.stackexchange.com/a/56392/92486)
Can I add python2.7-dev
just to the virtualenv
version of Python?
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1” in virtualenv
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ubuntu下安装cryptography报错 error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ubuntu16.04下安装cx-Oracle报错:error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- 报错?!-20170213-command 'x86_64-linux-gnu-gcc' failed with exit status 1
- error: command 'i686-linux-gnu-gcc' failed with exit status 1
- linux安装scrapy出错'x86_64-Linux-gnu-gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1
- error: command 'gcc' failed with exit status 1 解决方法
- error: command 'gcc' failed with exit status 1 的解决办法
- 第3章 科利法 阅读
- 由Python 学习受挫想到的激励自己学习的方法
- Activity学习
- android在线浏览
- android5.1 FrameLayout源码浅析
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1” in virtualenv
- 剖析Disruptor:为什么会这么快?(一)Ringbuffer的特别之处
- 循环赛事、对称矩阵
- 整理下混乱的生活
- leetcode--Kth Smallest Element in a BST
- H.264视频数据组织结构-GOP图像组和组中3类不同的图像帧
- Linux系统lseek函数作用
- 出自国外某牛人的一道面试题(About 42)
- 【Leetcode Algorithm】Remove Element