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:
Setting this PATH in my .bashrc:
export VIRTUALENVWRAPPER_PYTHON=my_path_to_python
export VIRTUALENVWRAPPER_VIRTUALENV=my_path_to_virtualenv
solved my problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.