Windows 7 上的 IronPython 控制台错误

发布于 2024-10-06 14:26:48 字数 442 浏览 0 评论 0原文

我最近在我的 Windows 7 机器上安装了 IronPython 2.6.1。我在 XP 机器上编写了一个程序,一切都运行得很好。但是,当我尝试在 Windows 7 上运行 IronPython 或 IronPython 控制台时,出现以下错误:

Unhandled Exception: System.Runtime.InteropServices.SEHException: External component has thrown an exception
    at Microsoft.Scripting.Hosting.Shell.ConsoleHost.Run(Strinf[] args)
    at PythonConsoleHost.Main(String[] args)

我似乎无法在网上找到与 IronPython 相关的此错误的示例。有谁知道可能是什么原因造成的?

I recently installed ironpython 2.6.1 on my windows 7 machine. I wrote a program on an XP machine and everything works perfectly there. But when I try running ironpython or the ironpython console on windows 7, I get the following error:

Unhandled Exception: System.Runtime.InteropServices.SEHException: External component has thrown an exception
    at Microsoft.Scripting.Hosting.Shell.ConsoleHost.Run(Strinf[] args)
    at PythonConsoleHost.Main(String[] args)

I couldn't seem to find an example of this error online relating to IronPython. Does anyone know what may be causing it?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文