[egenix-users] Error on Mac with mxText
Y Tu
ytu888 at hotmail.com
Mon Oct 1 14:51:31 CEST 2007
Hi Charlie,
I repeated the installation of mxTool with Admin account, since I got the following error messages when installing biopython
==========================
leeComputer:/applications/Python_Bio/biopython-1.43 lee$ sudo python setup.py install
running install
*** mxTextTools *** is either not installed or out of date.
This package is required for many Biopython features. Please install
it before you install Biopython.
You can find mxTextTools at http://www.egenix.com/files/python/eGenix-mx-Extensions.html.
I did the installation following your suggestion;
===========================
leesComputer:/applications/python_Bio/egenix-mx-base-3.0.0.macosx-10.3-fat-py2.5_ucs4.prebuilt lee$ sudo python setup.py build --skip install
running build
skipping the build process and reusing the existing build files and data
restoring build data from a previous build run
running install
running install_lib
running build_ext
writing byte-compilation script '/tmp/tmpmrkGBX.py'
/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python -O /tmp/tmpmrkGBX.py
removing /tmp/tmpmrkGBX.py
running install_data
running install_egg_info
Removing /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/egenix_mx_base-3.0.0-py2.5.egg-info
Writing /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/egenix_mx_base-3.0.0-py2.5.egg-info
However, when I tested the installation I got
============================
>>> from mx import TextTools
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mx/TextTools/__init__.py", line 8, in
from TextTools import *
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mx/TextTools/TextTools.py", line 13, in
from mxTextTools import *
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/mx/TextTools/mxTextTools/__init__.py", line 8, in
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
Any suggestions to fix the problem? Thank you so much.
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
More information about the egenix-users
mailing list