Just set the DYLD_LIBRARY_PATH
after running pip install
or easy_install
:
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/
Should do the job assuming your MySQL installation lives under /usr/local/mysql
.
More Related Contents:
- How to install MySQLdb (Python data access library to MySQL) on Mac OS X?
- Mac OS X – EnvironmentError: mysql_config not found
- Installing MySQL Python on Mac OS X
- Python.h header file missing on Mac OS X 10.6
- Python import MySQLdb error – Mac 10.6
- mysql-python installation problems (on mac os x lion)
- Install mysqlclient for Django Python on Mac OS X Sierra
- Django + MySQL on Mac OS 10.6.2 Snow Leopard
- MySQL parameterized queries
- How do I determine if my python shell is executing in 32bit or 64bit?
- PyInstaller, spec file, ImportError: No module named ‘blah’
- How to uninstall Anaconda completely from macOS
- Cannot install Lxml on Mac OS X 10.9
- Enable Python to Connect to MySQL via SSH Tunnelling
- What is the most compatible way to install python modules on a Mac?
- How to replace Django’s primary key with a different integer that is unique for that table
- How to reinstall python@2 from Homebrew?
- How do I escape % from python mysql query
- ImportError: No module named pip
- Why are some mysql connections selecting old data the mysql database after a delete + insert?
- How to properly stop phantomjs execution
- Python: use mysqldb to import a MySQL table as a dictionary?
- PYTHONPATH not working for sudo on GNU/Linux (works for root)
- InterfaceError (0, ”)
- What’s the difference between MySQLdb, mysqlclient and MySQL connector/Python?
- Remove duplicates in list of object with Python
- Updating Python on Mac
- Python PyQt on macOS Sierra
- Print results in MySQL format with Python
- flask-login: can’t understand how it works