I am experiencing what looks like the same problem:
ImportError: dlopen(/Users/tinker/.python-
eggs/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg-tmp/_mysql.so, 2): no
suitable image found. Did find:
/Users/tinker/.python-eggs/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg-
tmp/_mysql.so: mach-o, but wrong architecture
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've installed mysql-python package by doing
I'm getting ImportError with the below error message when I try to import
MySQLdb.
MySQL Version:
Server version: 5.1.41 Source distribution
Please suggest.
Thanks!
I am experiencing what looks like the same problem:
ImportError: dlopen(/Users/tinker/.python-
eggs/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg-tmp/_mysql.so, 2): no
suitable image found. Did find:
/Users/tinker/.python-eggs/MySQL_python-1.2.3-py2.6-macosx-10.6-universal.egg-
tmp/_mysql.so: mach-o, but wrong architecture
A little more searching turned up the this
solution:
The payoff is the suggestion to put this command in the .profile:
export VERSIONER_PYTHON_PREFER_32_BIT=yes
I tried it, and the ImportEror message disappeared. Failure now occurs later
in the process, but progress nevertheles.