- 积分
- 99
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-9-20
- 最后登录
- 1970-1-1
|
发表于 2021-12-9 10:49:01
|
显示全部楼层
楼主,为什么我用下面的命令安装cartopy库出现下面的问题
C:\Users\气象01>python -m pip install cartopy
Collecting cartopy
Using cached Cartopy-0.20.1.tar.gz (10.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\气象01\AppData\Local\Programs\Python\Python310\python.exe' 'C:\Users\气象01\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\气象01\AppData\Local\Temp\tmpv9i0hfp8'
cwd: C:\Users\气象01\AppData\Local\Temp\pip-install-k9yhv_04\cartopy_ba7cbfe36fa54ffcaf522ab5b6a4a89a
Complete output (7 lines):
Error in sitecustomize; set PYTHONVERBOSE for traceback:
SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xc6 in position 0: invalid continuation byte (sitecustomize.py, line 7)
setup.py:117: UserWarning: Unable to determine GEOS version. Ensure you have 3.7.2 or later installed, or installation may fail.
warnings.warn(
setup.py:166: UserWarning: Unable to determine Proj version. Ensure you have 8.0.0 or later installed, or installation may fail.
warnings.warn(
Proj version 0.0.0 is installed, but cartopy requires at least version 8.0.0. |
|