[egenix-users]
Y Tu
ytu888 at hotmail.com
Mon Oct 1 10:38:09 CEST 2007
Hi Charlie,
I have two account, one is ryan, I used daily which does not have the administrator's duty, another is lee.
I did the installation under ryan's account but using su lee.
I changed back to ryan's account and back to the home directory. The command generated the following error:
leesComputer:~ ryan$ python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from mx import TextTools
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mx/TextTools/__init__.py",
line 8, in <module>
from TextTools import *
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mx/TextTools/TextTools.py",
line 13, in <module>
from mxTextTools import *
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mx/TextTools/mxTextTools/__init__.py",
line 8, in <module>
from mxTextTools import *
ImportError:
dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mx/TextTools/mxTextTools/mxTextTools.so,
2): Symbol not found: __PyUnicodeUCS4_ToLowercase
Referenced from:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mx/TextTools/mxTextTools/mxTextTools.so
Expected in: dynamic lookup
Then I tested under Lee's account from the home directory, but got:
Last login: Mon Oct 1 10:26:59 on console
Welcome to Darwin!
leesComputer:~ lee$ python
Python 2.3.5 (#1, Dec 7 2006, 14:50:51)
[GCC 4.0.1 (Apple Computer, Inc. build 5363) (+4864187)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from mx import TextTools
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named mx
What's wrong? Please help me. Thanks.
> Date: Mon, 1 Oct 2007 16:16:17 +0200
> To: ytu888 at hotmail.com; egenix-users at egenix.com
> Subject: Re: [egenix-users]
> From: charlie at egenix.com
>
> Am 01.10.2007, 15:54 Uhr, schrieb Y Tu <ytu888 at hotmail.com>:
>
> >
> > Thank you very much Charlie, for the prompt answer.
> > With the command you suggested, it seems work, at least no error message
> > showed. However, when I tested with the import statement at the Python
> > prompt, I got the following error. What's wrong? Thanks.
>
> cd to your home folder. If you call Python from the install folder you
> will confuse it as it finds the module locally but with the wrong path.
>
> Charlie
>
> --
> Charlie Clark
> eGenix.com
>
> Professional Python Services directly from the Source
> >>> Python/Zope Consulting and Support ... http://www.egenix.com/
> >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
> >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
> ________________________________________________________________________
>
> :::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
>
> eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
> D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
> Registered at Amtsgericht Duesseldorf: HRB 46611
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman-archives/egenix-users/attachments/20071001/5c49c3a5/attachment.htm
More information about the egenix-users
mailing list