Strange that someone reported similar thing on GotDotNet
forums. I believe that the cause is an old version of .Net.
You need .Net 2.0 Beta 2 to run
IronPython:
IronPython 0.7.5 on .NET 2.0.50215.44
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import StringIO
>>>
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import StringIO
>>>
You can get Beta 2 from here:
Martin,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Tarlano
Sent: Tuesday, May 17, 2005 3:02 PM
To: Discussion of IronPython
Subject: [IronPython] StringIO???
I think that while fixing the 'assemblies in the same directory' bug, a new critter may have been introduced...
StringIO used to work in IP-0.7.4, now using IP.0.7.5 I see the following trackback..
IronPython 0.7.5 on .NET 2.0.40607.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import StringIO
System.MissingMethodException: Method not found: 'Boolean System.Collections.Gen
eric.IDictionary`2.TryGetValue(!0, !1 ByRef)'.
at IronPython.Objects.Importer.TryGetExistingModule(String fullName, Object&
ret)
at IronPython.Objects.Importer.Import(PythonModule mod, String fullName, List
from)
at IronPython.Objects.Ops.Import(PythonModule mod, String fullName)
at input_0.Run(Frame frame)
at IronPython.Hosting.PythonEngine.DoOneInteractive(Frame topFrame)
at IronPython.Hosting.PythonEngine.RunInteractive()
>>>
_______________________________________________ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com