
mysql-python Installation Problems on Mac OS X Lion
Despite successfully installing MySQL 5.5, Python 2.7, and mysql-python 1.2.3, you may encounter an "no suitable image found" error when attempting to import MySQLdb. This suggests that a crucial element is missing.
Possible Missing Elements:
Troubleshooting Solutions:
1. Overriding the Environment:
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/
2. Using Homebrew:
brew install python brew install mysql /usr/local/share/python/easy_install mysql-python
The above is the detailed content of Why am I getting an \'no suitable image found\' error when importing MySQLdb on Mac OS X Lion?. For more information, please follow other related articles on the PHP Chinese website!
Web page opens slowly
Common usage of Array.slice
Check out the top ten cryptocurrencies worth investing in
The difference between css3.0 and css2.0
Ripple currency today's market price
The difference between scratch and python
Windows checks port occupancy status
The difference between random and pseudo-random