virtualenvwrapper.sh的Virtualenvwrrapper问题

时间:2019-07-14 07:49:02

标签: python ubuntu-18.04 virtualenvwrapper

我正在尝试安装virtualevnwrapper,但是我失败了。

它抛出了这个错误:

bash: /usr/local/bin/virtualenvwrapper.sh: No such file or directory

我尝试过这样:

$ pip install virtualenvwrapper
...
$ export WORKON_HOME=~/Envs
$ mkdir -p $WORKON_HOME

然后我运行$ source /usr/local/bin/virtualenvwrapper.sh并抛出此错误

bash: /usr/local/bin/virtualenvwrapper.sh: No such file or directory 

当我在上述命令中失败时,然后尝试使用$ source ~/.local/bin/virtualenvwrapper.sh并抛出此错误:

/usr/bin/python: No module named virtualenvwrapper
virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.

我做了很多尝试但都失败了。在这种情况下,有人可以帮助我吗?

**My OS Is Ubuntu 18+**

0 个答案:

没有答案