Previous Entry Share Next Entry
port install py26-mysql
Mac
sanmai
Такая ошибка:
<<< import MySQLdb
Traceback (most recent call last):
  File "", line 1, in 
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/MySQLdb/__init__.py", line 19, in 
    import _mysql
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/_mysql.so, 2): Library not loaded: /opt/local/lib/mysql5/mysql/libmysqlclient_r.15.dylib
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/_mysql.so
  Reason: image not found
Означает что нужно переустановить py26-mysql.

И почему тут нет revdep-rebuild?..
Tags:

?

Log in

No account? Create an account