Launch Celery without a virtualenv

Viewed 6584

I'm trying to launch Celery installed with pip in a Docker container that doesn't use virtualenv.

celery: command not found

I tried to run

python /usr/local/lib/python3.4/site-packages/celery/bin/celery.py

but get ImportError: No module named 'celery.five'; 'celery' is not a package

When I do pip freeze I can see it's installed.

Running the command from a virtualenv works because celery is added to <VENV>/bin/celery and <VENV>/bin/ is prepended to my $PATH.

How can I run Celery without using a virtualenv?

1 Answers
Related