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

后端 未结 12 1610
感情败类
感情败类 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:34

    Thanks to @Alexander, I was able to fix my issue by changing the line in ~/.bashrc:

    export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
    

    to

    export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python
    

    due to backwards compatibility.

提交回复
热议问题