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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that this prefix is in /usr/local, I would assume that PySide should safely work, however the following failed:
>>> from PySide import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/PySide/QtCore.so, 2): Library not loaded: @rpath/libpyside-python2.7.1.2.dylib
Referenced from: /usr/local/lib/python2.7/site-packages/PySide/QtCore.so
Reason: image not found
>>>
Correcting the issue was as simple as setting the rpath to look into the packages installation directory:
tv:~ ben$ cd /usr/local/lib/python2.7/site-packages/PySide
tv:PySide ben$ for filename in $(ls *.so); do install_name_tool -add_rpath `pwd` $filename; done
I suspect that something is not functioning correctly in the fix up script.
The text was updated successfully, but these errors were encountered:
I just ran into the exact same error. In my case there were virtualenv shenanigans, but that doesn't seem to help or hurt. I successfully worked around with the same install_name_tool -add_rpath fix.
There is no virtualenv shenigans here, only PySide installed on Sierra using the following:
Installed version:
Given that this prefix is in /usr/local, I would assume that PySide should safely work, however the following failed:
Correcting the issue was as simple as setting the rpath to look into the packages installation directory:
I suspect that something is not functioning correctly in the fix up script.
The text was updated successfully, but these errors were encountered: