Ironpython 控制台立即消失
我在 Windows XP Professional 中安装了 IronPython 2.0,它需要 .Net Framework 2.0 Service Pack 2 或更高版本。 windows盒子里有它。 但控制台仍然消失了。 其中任何一个都有问题。
需要帮忙?
I installed ironpython 2.0 in the windows xp professional box and it requires .Net framework 2.0 service pack 2 or later. The windows box has it. But still the console disappears. There is issue in either of them.
Need help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我找到了方法....
NET 2.0 和 .Net 3.0 没有 SP1。
所以带有 SP1 的 .Net 版本都可以让 Ironpython 工作...yippee
i have found the way....
.NET 2.0 and .Net 3.0 do not have SP1.
So either version of .Net with SP1 will make Ironpython work...yippee
相同的结果
Iropython 需要 .NET 2.0 sp1 或更高版本
事实上没有错误...
我想 Ironpython 没有找到它应该在的 .Net 库。
如果控制面板\添加删除程序显示.Net Framework,这是否意味着它们已安装。 我问这个问题是因为在论坛中没有人谈论过检查控制面板的事情; 但是,他们要么谈论检查注册表,要么谈论检查 %systemroot%\Microsoft .net\Framework 并检查相应版本文件夹中的 Mscorlib.dll。
好吧,我找到了 .net 2.0 和 .net 1.1 的 .dll 文件,但没有找到 .net 3.0 的 .dll 文件
如果没有安装.net 3.0,那么ironpython失败的原因是sp1 for .net 2.0没有安装。
另外,我检查了注册表信息
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\policy\v2.0
并发现.NEt 2.0,原始版本已安装,
但是,我在.NETFramework文件夹中找到了.net 3.0,但在策略文件夹中没有找到。 并且在该文件夹中,没有像 v3.0 这样的文件夹,其中的值设置如此这般。
The same result
Iropython requires .NET 2.0 sp1 or later
There is no error infact...
I suppose Ironpython is not finding the .Net libraries where it is supposed to be.
If the control panel\Add remove programs shows the .Net framework, does this mean they are installed. I am asking this question coz in forums no body has talked about checking the control panel thing; however, they either talk about checking Registry or %systemroot%\Microsoft .net\Framework and check for Mscorlib.dll in the respective version folder.
Well, I have found the .dll file for .net 2.0 and .net 1.1 but not for .net 3.0
If .net 3.0 is not installed, then the reason for failure of ironpython is sp1 for .net 2.0 is not installed.
Also, i checked the registry information at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\policy\v2.0
and found that .NEt 2.0, the orignal version is installed
however, I found .net 3.0 in .NETFramework folder, but not in policy folder. And in that folder, there is no such folder like v3.0 where the value is set such and such.
如果打开命令提示符并从那里运行 ipy 会发生什么?
运行(从命令提示符)ipy -X:ExceptionDetail
这有望提供更多信息。
另请查看 Windows 事件日志(应用程序)中是否有与 IPY 相关的任何错误。
更新 如果没有记录错误,请尝试运行另一个 .Net 程序以查看是否是一般问题。 卸载框架并重新安装框架将是下一步尝试的步骤。
干杯,
戴维
What happens if you open a command prompt and run ipy from there?
Run (From the command prompt) ipy -X:ExceptionDetail
This will hopefully give more info.
Also have a look in the Windows Event Log (Application) for any errors related to IPY.
Update If you have no error recorded, try running another .Net program to see if it is a general problem. Uninstalling the Framework and reinstalling the Framework would be the next step to try.
Cheers,
Davy