Installation Troubleshooting

Claire McQuin edited this page Mar 13, 2017 · 2 revisions

MySQL could not be loaded

Reported in 2529.

Error

$ pythonw CellProfiler.py
MySQL could not be loaded.
Traceback (most recent call last):
  File "/cellprofiler/modules/exporttodatabase.py", line 75, in <module>
    import MySQLdb
  File "build/bdist.macosx-10.5-x86_64/egg/MySQLdb/__init__.py", line 19, in <module>
  File "build/bdist.macosx-10.5-x86_64/egg/_mysql.py", line 7, in <module>
  File "build/bdist.macosx-10.5-x86_64/egg/_mysql.py", line 6, in __bootstrap__
ImportError: dlopen(/Users/*****/Library/Caches/Python-Eggs/MySQL_python-1.2.5-py2.7-macosx-10.5-x86_64.egg-tmp/_mysql.so, 2): Library not loaded: libssl.1.0.0.dylib
  Referenced from: /Users/*****/Library/Caches/Python-Eggs/MySQL_python-1.2.5-py2.7-macosx-10.5-x86_64.egg-tmp/_mysql.so
  Reason: image not found

System

OS X 10.5 managed by Homebrew. Installation from source using conda.

Resolution

Openssl with El Capitan

brew install --upgrade openssl
brew unlink openssl && brew link --overwrite openssl --force
ln -s /usr/local/Cellar/openssl/{VERSION}/include/openssl /usr/local/include/openssl

WX Python

  1. http://stackoverflow.com/a/27436070
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.