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

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

    On my computer, I ran sudo apt install python-pip and then pip install virtualenvwrapper but on my settings, I set it as follows:

    export WORKON_HOME=$HOME/.Envs
    export VIRTUALENVWRAPPER_PYTHON=$(which -a python3)
    source $HOME/.local/bin/virtualenvwrapper.sh
    

    That got rid of the error and note that I am using python3 and I use pip3 as my default

提交回复
热议问题