geopandacython安装g

2024-04-28 21:19:49 发布

您现在位置: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”导入setuptools,tokenize;文件='/tmp/pip-l361rj89-build/设置.py';f=getattr(tokenize,'open',open)(文件);code=f.read().replace('\r\n','\n');f.close();exec(编译(code,文件,'exec'))“安装--record/tmp/pip-wjrlaj3w-record/install-记录.txt--托管版本--pipL3/6189外部编译错误

我通过运行以下命令安装了gcc:

^{pr2}$

有人能建议我怎么解决这个问题吗?在


Tags: installappspip文件git命令includeerror