pycharm跑自动化时报_mysql.so Library not loaded:

ImportError('dlopen(/Library/Python/2.7/site-packages/_mysql.so, 2): Library not loaded: @rpath/libssl.1.0.0.dylib\n

Referenced from: /Library/Python/2.7/site-packages/_mysql.so\n  Reason: image not found',)


解决方法:

pip uninstall MySQL-python

brew uninstall mysql

brew install mysql --universal

pip install MySQL-python

参考:

http://madebyhoundstooth.com/blog/install-mysql-on-mountain-lion-with-homebrew/

https://gist.github.com/cole/1272701

你可能感兴趣的:(pycharm跑自动化时报_mysql.so Library not loaded:)