Maxim Andreev
Maxim Andreev

Reputation: 302

Error for virtualenvwrapper / Ubuntu 16.04

I followed this guide https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04 and get a error message:error message

When I try "$ workon name_of_virtual_env" I get ": command not found"

I can't understand from where the problem have come and what the error message mean. I tried a bit of experiment and get so far:

Upvotes: 0

Views: 235

Answers (1)

Maxim Andreev
Maxim Andreev

Reputation: 302

Setting this PATH in my .bashrc:

export VIRTUALENVWRAPPER_PYTHON=my_path_to_python
export VIRTUALENVWRAPPER_VIRTUALENV=my_path_to_virtualenv

solved my problem.

Upvotes: 1

Related Questions