- 积分
- 6
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2023-4-27
- 最后登录
- 1970-1-1
|
发表于 2023-5-10 15:16:54
|
显示全部楼层
本帖最后由 HHY1990 于 2023-5-10 15:18 编辑
您好,使用python setup.py就报一下错误,请问是什么原因,
Best match: Cartopy 0.21.1
Processing Cartopy-0.21.1.tar.gz
Writing C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-kbnl16pv\Cartopy-0.21.1\setup.cfg
Running Cartopy-0.21.1\setup.py -q bdist_egg --dist-dir C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-kbnl16pv\Cartopy-0.21.1\egg-dist-tmp-06u3cho1
C:\Users\ADMINI~1\AppData\Local\Temp\easy_install-kbnl16pv\Cartopy-0.21.1\setup.py:90: UserWarning: Unable to determine GEOS version. Ensure you have 3.7.2 or later installed, or installation may fail.
warnings.warn(
C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'use_scm_version'
warnings.warn(msg)
warning: no files found matching 'README.rst'
warning: no files found matching '*.pxd' under directory 'lib'
warning: no files found matching '*.h' under directory 'lib'
warning: no files found matching '*.c' under directory 'lib'
trace.cpp
lib/cartopy/trace.cpp(767): fatal error C1083: 无法打开包括文件: “geos_c.h”: No such file or directory
error: Setup script exited with error: command 'D:\\ProgramData\\Microsoft\\VisualStudio\\BuildTools\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2 |
|