python - Runtime error with kombu on Mac OS 10.9.5 -


On OS X 10.9.5, I get a strange error while trying to use celery from python. It was used to work, but now (apparently) Kombu.five has failed to use some of the libraries while importing.

Python 2.7.8 (Default, 24 August 2014, 21:26: 19) [GCC 4.2.1] Apple LLVM 5.1 (Clang-503.0.40) on Darwin More "Help", "Copyright", "Credit" or "License" for information. & Gt; & Gt; & Gt; Import celery traceback (most recent call final): File "& lt; stdin>", line 1, & lt; Module & gt; File "/usr/local/lib/python2.7/site-packages/celery/__init__.py", line 130, in & lt; Module & gt; Five files from celery imports in "/usr/local/lib/python2.7/site-packages/celery/five.py", line 51, in & lt; Module & gt; "/usr/local/lib/python2.7/site-packages/kombu/five.py" from the Kombu.five import monotonic file, line 52, & lt; Module & gt; absolute_to_nanoseconds = CoreServices.AbsoluteToNanoseconds file "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 378, __getattr__ function = self .__ GetItem __ (name) file "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 383, __getitem__ Function = self._FuncPtr ((name_or_ordinal, self)) AttributeError: dlsym (RTLD_DEFAULT, AbsoluteToNanoseconds): Icon not found

I am using Python 2.7.8 (installed through the breed installed dragon ) and the latest version of celery and cobb ( pip installed celer Has been installed) via . Any sign?

Here my output of brew --config is:

  HOMEBREW_VERSION: 0.9.5 ORGINZ: https: // github. Com / Homebrew / homebrew.git HEAD: c32db7bdaaedbf94d070ac13c1f8c42bd79c3853 Last committed: 51 minutes ago HOMEBREW_PREFIX: / usr / local HOMEBREW_CELLAR: / usr / local / cellar CPU: Quad-Core 64-bit sandybridge OS X: 10.9.5-x86_64 Xcode: 6.0 .1 CLT: 6.0.0.0.1.1410400753 Clang: 6.0 Build 600 X 11: 2.7.6 = & gt; / Opt / X11 system Ruby: 2.0.0-481 Perl: / usr / bin / perl Python: / usr / local / bin / python = & gt; /usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7   

Here's some more output about ctypes: < / P> & gt; & Gt; & Gt; Import ctypes, ctypes.util & gt; & Gt; & Gt; Core services = CTIP CDLL (CTIP.ft.find_libry ('core services')) & Gt; & Gt; Print Core Services & amp; Lt; Cd ll 'none', please fx 10FCEEETEX & gt; & Gt; & Gt; & Gt; Print Core Services Azolulatenoscand traceback (most recent call final): File "& lt; stdin>", line 1, & lt; Module & gt; File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 378, = in __getattr__ function self .__ GetItem __ (name), file "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 383 __getitem__ function = self._FuncPtr AttributeError: dlsym (RTLD_DEFAULT, AbsoluteToNanoseconds): Symbol not found

After "text" "itemprop =" text ">

It's got, thanks TimSmith! This was a struggle in the DYLD_FALLBACK_LIBRARY_PATH environment variable between the libraries used by the homebre Python and Paraguay.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -