[IronPython] Newbie mono question (setting up lib path)
Martin.Maly at microsoft.com
Fri Jan 13 22:19:41 PST 2006
this sounds like IronPython couldn't find the string module. try:
>>> import sys
and make sure it found its way there correctly. If in doubt, try absolute paths.
Hopefully this helps
From: users-bounces at lists.ironpython.com On Behalf Of m h
Sent: Friday, January 13, 2006 6:00 PM
To: users at 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 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 mono --version
Mono JIT compiler version 1.1.13, (C) 2002-2005 Novell, Inc and
GC: Included Boehm (with typed GC)
SIGSEGV : normal
users mailing list
users at lists.ironpython.com
More information about the users