[Answer]-Error running Django project in virtualenv

1👍

Using sudo will force everything to install globally, and virtualenv is the solution to that problem. It allows you to create virtual environments which have their own independently installed packages, so you can avoid having everything installed globally.

Recreate the virtualenv, install all of your needed packages using pip install packagename and you should be up and running.

0👍

See the last line of the output: You’re somehow celery somewhere, which appears not to be installed in your virtualenv.

Leave a comment