我无法在jupyter笔记本中安装osmnx。shapely 1.6版出现以下问题
我可以安装shapely 1.4,但osmnx需要1.6版本
我用的命令是!pip安装osmnx
收集Shapely>;=1.6(来自osmnx)
{使用^缓存的}ERROR: Command errored out with exit status 1:
command: 'c:\users\shrinath\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Shrinath\\AppData\\Local\\Temp\\pip-install-3_oopeoz\\Shapely\\setup.py'"'"'; __file__='"'"'C:\\Users\\Shrinath\\AppData\\Local\\Temp\\pip-install-3_oopeoz\\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:\Users\Shrinath\AppData\Local\Temp\pip-install-3_oopeoz\Shapely\
Complete output (9 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\Shrinath\AppData\Local\Temp\pip-install-3_oopeoz\Shapely\setup.py", line 80, in
from shapely._buildcfg import geos_version_string, geos_version, \
File "C:\Users\Shrinath\AppData\Local\Temp\pip-install-3_oopeoz\Shapely\shapely\_buildcfg.py", line 200, in
lgeos = CDLL("geos_c.dll")
File "c:\users\shrinath\anaconda3\lib\ctypes\__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
----------------------------------------
错误:命令出错,退出状态为1:python设置.pyegg_info检查日志以获得完整的命令输出。在