词云:解决pip install wordcloud安装过程中报错“error: command 'x86_64-linux-gnu-gcc' failed with exit status 1”问题
2018-07-13 15:25
1106 查看
外部环境:ubuntu16.04, 64bits, 全局环境python2.7
在虚拟环境(python3.5)中执行 pip install wordcloud 时安装失败,报错:
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for wordcloud Running setup.py clean for wordcloud Failed to build wordcloud
解决方案:在外部环境执行 sudo apt-get install python3-dev ,再在虚拟环境中重新 pip install wordcloud 即可。
参考:
http://www.cnblogs.com/canitang/p/7994184.html
相关文章推荐
- [原创] ubuntu下安装scrapy报错 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
- 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
- ubuntu16.04下安装cx-Oracle报错:error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- CentOS7上 pip install MySQL-python 安装失败(error: command 'gcc' failed with exit status 1)的解决办法
- centos7.2安装paramiko报error: command 'gcc' failed with exit status 1的解决办法
- 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” in virtualenv
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1” in virtualenv
- 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: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- centos7.3安装paramiko报error: command 'gcc' failed with exit status 1的解决办法
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- pip安装模块时:error: command 'gcc' failed with exit status 1
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1