无法使用python从DLL导入模块

时间:2017-06-01 10:52:44

标签: c# python .net dll python.net

我正在尝试导入使用c#.Net开发的IEDExplorer(开源)方法。我在Visual Studio 2015上为0x64位体系结构创建了IEDExplorer.dll,并尝试使用python中生成的IEDExplorer.dll。我的代码如下:

import clr, sys
sys.path.append(r"C:\WORK\IEC61850\Iedexplorer\bin\x64\Debug")
clr.AddReference("IEDExplorer")
import IEDExplorer

当尝试导入IEDExplorer模块时,它给出了" ImportError:没有名为' IEDExplorer"的模块。任何人都可以帮忙解决这个问题。

0 个答案:

没有答案
相关问题