Skip to content

Instantly share code, notes, and snippets.

@skyl skyl/gist:7922746
Last active Dec 31, 2015

Embed
What would you like to do?
billiard upgrade to 3.3.0.12.tar.gz on OSX
> python
Python 2.7.3 (default, Dec 4 2013, 11:24:08)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import billiard
>>> billiard.VERSION
(2, 7, 3, 31)
>>> ^D
> pip install -U billiard
Downloading/unpacking billiard from https://pypi.python.org/packages/source/b/billiard/billiard-3.3.0.12.tar.gz#md5=f14bab1b9025f80beff91b4c2b4b8ebd
Using download cache from ,,,
Running setup.py egg_info for package billiard
warning: no files found matching '*.py' under directory 'Lib'
Installing collected packages: billiard
Found existing installation: billiard 2.7.3.31
Uninstalling billiard:
Successfully uninstalled billiard
Running setup.py install for billiard
building '_billiard' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/
...
include build/temp.macosx-10.8-x86_64-2.7/Modules/_billiard/multiprocessing.o build/temp.macosx-10.8-x86_64-2.7/Modules/_billiard/socket_connection.o build/temp.macosx-10.8-x86_64-2.7/Modules/_billiard/semaphore.o -o build/lib.macosx-10.8-x86_64-2.7/_billiard.so
warning: no files found matching '*.py' under directory 'Lib'
Successfully installed billiard
Cleaning up...
> python
Python 2.7.3 (default, Dec 4 2013, 11:24:08)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import billiard
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/.../lib/python2.7/site-packages/billiard/__init__.py", line 60, in <module>
from .process import Process, current_process, active_children
File "/.../lib/python2.7/site-packages/billiard/process.py", line 27, in <module>
from .compat import bytes
File "/.../lib/python2.7/site-packages/billiard/compat.py", line 7, in <module>
from .five import builtins, range
File "/.../lib/python2.7/site-packages/billiard/five.py", line 42, in <module>
libSystem = ctypes.CDLL('libSystem.dylib')
File "/.../lib/python2.7/ctypes/__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(libSystem.dylib, 6): image not found
>>>
> ls -l /usr/lib/libSystem*
-rwxr-xr-x 1 root wheel 53920 Oct 10 2012 /usr/lib/libSystem.B.dylib
-rwxr-xr-x 1 root wheel 53936 Nov 2 2012 /usr/lib/libSystem.B_debug.dylib
lrwxr-xr-x 1 root wheel 17 Oct 10 2012 /usr/lib/libSystem.dylib -> libSystem.B.dylib
lrwxr-xr-x 1 root wheel 23 Nov 2 2012 /usr/lib/libSystem_debug.dylib -> libSystem.B_debug.dylib
@skyl

This comment has been minimized.

Copy link
Owner Author

skyl commented Dec 12, 2013

answer for me: messed up DYLD_FALLBACK_LIBRARY_PATH bash environment variable. Works if unset or includes /usr/lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.