在python METIS_SetDefaultOptions中导入metis

时间:2018-12-01 18:28:54

标签: python windows metis

我遇到错误

Traceback (most recent call last):
  File "solvescore.py", line 14, in <module>
    import metis
  File "C:\Users\nicol\Anaconda3\lib\site-packages\metis.py", line 664, in <module>
    @_wrapdll(P(idx_t))
  File "C:\Users\nicol\Anaconda3\lib\site-packages\metis.py", line 470, in dowrap
    wrapped_func = getattr(_dll, name)
  File "C:\Users\nicol\Anaconda3\lib\ctypes\__init__.py", line 357, in __getattr__
    func = self.__getitem__(name)
  File "C:\Users\nicol\Anaconda3\lib\ctypes\__init__.py", line 362, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'METIS_SetDefaultOptions' not found

我在窗户上,和水蟒一起。我已经安装了python metis模块

pip install metis

http://glaros.dtc.umn.edu/gkhome/metis/metis/download获得的陨石

使用BUILD-Windows.txt安装了它

我没有找到有关“ METIS_SetDefaultOptions”的任何信息

有人知道如何解决此错误吗?

0 个答案:

没有答案