geopanda-cython安装gcc错误

时间:2018-02-22 03:59:58

标签: python

当我使用命令“pip install git + https://github.com/geopandas/geopandas.git@geopandas-cython”安装geopandas-cython时,我收到以下错误消息。我查看我的gcc所在的位置,它位于/ bin / gcc

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/apps/anaconda3/envs/dask/lib/python3.6/site-packages/numpy/core/include -I/apps/anaconda3/envs/dask/include -I/apps/anaconda3/envs/dask/include/python3.6m -c geopandas/vectorized.c -o build/temp.linux-x86_64-3.6/geopandas/vectorized.o
gcc: error: geopandas/vectorized.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
error: command 'gcc' failed with exit status 4

----------------------------------------
Rolling back uninstall of geopandas

命令“/ apps / anaconda3 / envs / dask / bin / python -u -c”import setuptools,tokenize; file ='/ tmp / pip-l361rj89-build / setup.py' ; f = getattr(tokenize,'open',open)( file ); code = f.read()。replace('\ r \ n','\ n'); f.close (); exec(编译(代码,文件,'exec'))“install --record /tmp/pip-wjrlaj3w-record/install-record.txt --single-version-external-托管 - 编译“失败,错误代码1在/ tmp / pip-l361rj89-build /

我已经通过运行:

安装了gcc
sudo assist yum gcc

有人可以建议我可以做些什么来解决这个问题吗?

0 个答案:

没有答案