当我尝试点安装openbte

时间:2018-11-19 03:06:41

标签: python pip pycharm install

我对使用Python很陌生。如果有帮助,我正在使用PyCharm。我正在尝试获取一个名为openbte(https://pypi.org/project/openbte/)的软件包以在PyCharm上工作,但我一直收到此错误。

  

OSError:[WinError 126]找不到指定的模块

这是命令输出

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给出了与命令输出相同的错误:

Collecting Shapely
  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\

0 个答案:

没有答案