-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Description
Importing libvlc doesn't work on MacOS. When I try to import VLC (using VLC 3.0 RC9) I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/user/miniconda/envs/blah/lib/python3.6/site-packages/vlc.py", line 198, in <module>
dll, plugin_path = find_lib()
File "/Users/user/miniconda/envs/blah/lib/python3.6/site-packages/vlc.py", line 183, in find_lib
dll = ctypes.CDLL(p)
File "/Users/user/miniconda/envs/blah/lib/python3.6/ctypes/__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Applications/VLC.app/Contents/MacOS/lib/libvlc.dylib, 6): Library not loaded: @rpath/libvlccore.dylib
Referenced from: /Applications/VLC.app/Contents/MacOS/lib/libvlc.dylib
Reason: image not found
It looks like libvlccore.dylib needs to be imported first before importing libvlc.dylib.
Metadata
Metadata
Assignees
Labels
No labels