我对使用Python非常陌生。如果Pym有用的话。我试图使用一个名为openbte(https://pypi.org/project/openbte/)的包来处理PyCharm,但是我一直遇到这个错误。在
OSError: [WinError 126] The specified module could not be found
这是命令输出
Collecting openbte
Using cached https://files.pythonhosted.org/packages/b9/b9/bb0d992d29fe888247ad39994518db9472b4f4ae57814b21fa565d18c161/openbte-0.9.24.tar.gz
Collecting numpy (from openbte)
Using cached https://files.pythonhosted.org/packages/42/5a/eaf3de1cd47a5a6baca41215fba0528ee277259604a50229190abf0a6dd2/numpy-1.15.4-cp37-none-win32.whl
Collecting scipy (from openbte)
Using cached https://files.pythonhosted.org/packages/e8/08/6ceee982af40b23566016e29a7a81ed258e739d2d718e03049446c3ccf31/scipy-1.1.0-cp37-none-win32.whl
Collecting shapely (from openbte)
Using cached https://files.pythonhosted.org/packages/a2/fb/7a7af9ef7a35d16fa23b127abee272cfc483ca89029b73e92e93cdf36e6b/Shapely-1.6.4.post2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\turtl\AppData\Local\Temp\pycharm-packaging\shapely\setup.py", line 80, in <module>
from shapely._buildcfg import geos_version_string, geos_version, \
File "C:\Users\turtl\AppData\Local\Temp\pycharm-packaging\shapely\shapely\_buildcfg.py", line 200, in <module>
lgeos = CDLL("geos_c.dll")
File "C:\Users\turtl\AppData\Local\Programs\Python\Python37-32\lib\ctypes\__init__.py", line 356, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\turtl\AppData\Local\Temp\pycharm-packaging\shapely\
为了让这个工作起来,我把头发扯了出来。有人知道如何开始解决这个错误吗?在
编辑:我相信这是因为Shapely。我可以很好地安装numpy和scipy,但是Shapely给出了与命令输出相同的错误:
^{pr2}$
目前没有回答
相关问题 更多 >
编程相关推荐