如何在IronPython中导入.PYD模块? [英] How can I import a .PYD module in IronPython?

查看:462
本文介绍了如何在IronPython中导入.PYD模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用IronPython中的python包。
如果我导入常规的python模块,一切正常。

I'm trying to use a python package from IronPython. Everything works fine if I import regular python modules.

但是当我尝试执行以下操作时:

But when I try to do the following:

import win32ui

我得到:

No module named win32ui

我已经通过IronPython.Runtime.Importer中的代码进行了搜索,并且没有提及.pyd

I've hunted through the code in IronPython.Runtime.Importer and there's no mention of .pyd

任何人都知道解决这个问题的方法吗?

Anyone know a way around this?

推荐答案

您可以查看 IronClad 正在努力提供这种支持。它可能会或可能不会与您选择的PYD一起工作。

You can check out IronClad which is working to provide this support. It may or may not work w/ your PYD of choice.

这篇关于如何在IronPython中导入.PYD模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆