Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gphoto = ctypes.CDLL('libgphoto2.dylib')
- $ python
- Python 2.7.5 (default, Aug 25 2013, 00:04:04)
- [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import ctypes
- >>> gphoto = ctypes.CDLL('libgphoto2.dylib')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 365, in __init__
- self._handle = _dlopen(self._name, mode)
- OSError: dlopen(libgphoto2.dylib, 6): image not found
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement