/usr/bin/python3: Error while finding spec for 'virtualenvwrapper.hook_loader' (: No module named 'virtualenvwrapper')

后端 未结 12 1630
感情败类
感情败类 2020-12-08 03:33

I\'m trying to follow How To Serve Django Applications with uWSGI and Nginx on Ubuntu 14.04 and I\'m failing at the very earlier stage, due to amount of output, I placed all

12条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-08 04:35

    I've got this error for entirely different reasons, but since I ended up on this thread, I gather somebody might find this useful. So in my case, it turned out that my script was attempting to activate the virtual environment while I was already on it (the workon statement is issued from my .profile file). And so the solution was to simply deactivate the environment first and then run the script.

提交回复
热议问题