我在命令提示符中遇到了这个错误。你知道吗
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Windows\\Temp\\pip-install-o693x1mb\\shapely\\setup.py'"'"'; __file__='"'"'C:\\Windows\\Temp\\pip-install-o693x1mb\\shapely\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Windows\Temp\pip-install-o693x1mb\shapely\
Complete output (9 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Windows\Temp\pip-install-o693x1mb\shapely\setup.py", line 80, in <module>
from shapely._buildcfg import geos_version_string, geos_version, \
File "C:\Windows\Temp\pip-install-o693x1mb\shapely\shapely\_buildcfg.py", line 200, in <module>
lgeos = CDLL("geos_c.dll")
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'geos_c.dll'. Try using the full path with constructor syntax.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
我还安装了OSGeo4w64,并将环境变量设置为geos\u c.dll, 我已经安装了python版本3.8.1和pip版本19.3.1, 另外,将环境变量设置为python和python/scripts。你知道吗
(必须包含geos\u c.dll) 重新启动命令行
享受
相关问题 更多 >
编程相关推荐