安装Superst报错 Failed building wheel for python-geohash&Command errored out with exit status 1
安装Superst报错 Failed building wheel for python-geohash&Command errored out with exit status 1
具体报错如下图所示:
前置操作
1 | conda --version |
分析与解决办法
看到报错判断出编译环境出了问题, 然后想到使用anaconda作为环境安装应该不会出现错误才对, 出于谨慎先检查gcc
1 | rpm -q gcc |
gcc存在, 应该不是它的问题, 经过搜索发现可能是缺少某些开发工具, 于是直接选择安装全部开发工具(不准备一个个找了, 磁盘空间充裕😸)
1 | yum groupinstall -y "Development Tools" |
然后再执行pip install apache-superset
, 成功.