有人将 SciPy 与 IronPython 一起使用过吗?

发布于 2024-07-14 04:22:14 字数 411 浏览 4 评论 0原文

我已经能够使用 IronPython 中的标准 Python 模块,但我还没有让 SciPy 工作。 有人能够使用 IronPython 中的 SciPy 吗? 你必须做什么才能让它发挥作用?

更新:请参阅IronPython 中的数值计算与 Ironclad

更新: Microsoft 与 Enthought 合作为 .NET 制作 SciPy。

I've been able to use the standard Python modules from IronPython, but I haven't gotten SciPy to work yet. Has anyone been able to use SciPy from IronPython? What did you have to do to make it work?

Update: See Numerical computing in IronPython with Ironclad

Update: Microsoft is partnering with Enthought to make SciPy for .NET.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

み青杉依旧 2024-07-21 04:22:14

我的一些同事正在开发 Ironclad 项目,该项目将使 CPython 的扩展模块能够工作在 IronPython 中。 它仍在开发中,但 numpy、scipy 和其他一些模块的部分功能已经可以使用。 你应该尝试一下,看看你需要的 scipy 部分是否受支持。

这是一个开源项目,因此如果您有兴趣,您甚至可以提供帮助。 无论如何,关于您正在尝试做什么以及我们接下来应该考虑哪些部分的一些反馈也很有帮助。

Some of my workmates are working on Ironclad, a project that will make extension modules for CPython work in IronPython. It's still in development, but parts of numpy, scipy and some other modules already work. You should try it out to see whether the parts of scipy you need are supported.

It's an open-source project, so if you're interested you could even help. In any case, some feedback about what you're trying to do and what parts we should look at next is helpful too.

眸中客 2024-07-21 04:22:14

任何使用 C 编写的组件(例如 NumPy,它是 SciPy 的组件)都无法在 IronPython 上运行,因为外部语言接口的工作方式不同。 任何 C 语言组件可能无法工作,除非已明确移植以与 IronPython 一起使用。

您可能需要深入研究各个模块并检查哪些模块可以工作或者是纯 python,并找出哪些基于 C 的模块已被移植。

Anything with components written in C (for example NumPy, which is a component of SciPy) will not work on IronPython as the external language interface works differently. Any C language component will probably not work unless it has been explicitly ported to work with IronPython.

You might have to dig into the individual modules and check to see which ones work or are pure python and find out which if any of the C-based ones have been ported yet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文