error: command 'x86_64-linux-gnu-gcc' failed with exit status 1” in virtualenv
2015-07-02 21:19
886 查看
up vote 4 down votefavorite 2 | Environment: Linux Mint 17 Cinnamon. This error is displayed: [code]error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 when attempting the following in a virtualenv: [code]pip install lxml pip install pillow pip install pycrypto pip 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: [code]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-devjust to the virtualenvversion of Python? |
相关文章推荐
- 我的linux探索之路
- linux下qt的安装
- PARSEC在CentOS6.5 版本的linux系统下安装过程
- Linux打tar包命令
- linux下svn的用法
- 举例说,Linux核心名单(两)
- linux之cp/scp命令+scp命令详解
- 查看linux安装系统时所使用的readhat还是centos
- 使程序在Linux下后台运行
- 查找linux系统下的端口被占用进程的两种方法
- #定位系统性能瓶颈# 序言
- centos7 安装hadoop 集群遇到的问题
- 如何关闭linux系统中的覆盖输出重定向(>)功能
- Linux下RPM软件包的安装与卸载方法
- CentOS6.5-连接无线网
- Linux dd命令全面解析 [转载]
- centos7安装jdk-8u45-linux-x64.tar.gz
- 24个很酷的linux/unix工具
- Centos 检查磁盘读写性能
- 在Linux下安装和使用MySQL