Advertisement
Guest User

Untitled

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