hmmmm, string.py is in "\\tmp\\ipython\\IronPython-1.0-Beta1\\Lib".... which is in my path...
mharrison[1080] mono IronPythonConsole.exe IronPython 1.0.2190 (Beta) on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> import string Traceback (most recent call last): ImportError: No module named string >>> import sys >>> sys.path ['\\tmp\\ipython\\IronPython-1.0-Beta1', '\\tmp\\ipython\\IronPython-1.0-Beta1\\Lib'] >>> On 1/14/06, Martin Maly <[EMAIL PROTECTED]> wrote: > this sounds like IronPython couldn't find the string module. try: > > >>> import sys > >>> sys.path > > and make sure it found its way there correctly. If in doubt, try absolute > paths. > > Hopefully this helps > Martin > > ________________________________________ > From: [EMAIL PROTECTED] On Behalf Of m h > Sent: Friday, January 13, 2006 6:00 PM > To: users@lists.ironpython.com > Subject: [IronPython] Newbie mono question (setting up lib path) > > Folks, I'm new to IronPython (and Mono!). > Following what I read in Jim's recent email, I tried copying my > python2.3 lib directory into the "Lib" directory and added "Lib" to > the sys.path in Lib/site.py. Then I tried to import string but it > failed. Any hints? > > mharrison[1080] mono IronPythonConsole.exe > IronPython 1.0.2190 (Beta) on .NET 2.0.50727.42 > Copyright (c) Microsoft Corporation. All rights reserved. > >>> import string > Traceback (most recent call last): > ImportError: No module named string > >>> > > mharrison[1045] mono --version > Mono JIT compiler version 1.1.13, (C) 2002-2005 Novell, Inc and > Contributors. www.mono-project.com > TLS: normal > GC: Included Boehm (with typed GC) > SIGSEGV : normal > > thanks > matt > _______________________________________________ > users mailing list > users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ > users mailing list > users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com