OSError: dlopen(libSystem.dylib, 6): image not found

前端 未结 9 1139
天涯浪人
天涯浪人 2021-01-04 03:02

Just updated my Mac to El Capitan 10.11. I am trying to run Django 1.6 with Celery 3.1 and I\'m getting this error now:

Unhandled exception in thread starte         


        
9条回答
  •  感情败类
    2021-01-04 03:28

    I tried updating to the latest versions of these libraries from github, but it did not help. The simplest solution that I've found is to use virtualenv

    virtualenv myenv
    cd myenv
    source bin/activate
    pip install celery
    

    To confirm it worked:

    python -c "import celery"
    

    This seems preferable to disabling a fundamental security feature of the OS, and virtualenv has its own (well documented) benefits.

提交回复
热议问题