开发者

virtualenvwrapper.sh doesn't not run

开发者 https://www.devze.com 2023-02-25 03:06 出处:网络
I just tried to install virtualenvwrapper and when I run the following (as found in the instructions)

I just tried to install virtualenvwrapper and when I run the following (as found in the instructions)

source /usr/local/bin/virtualenvwrapper.sh

It failed with the following :

-bash: /usr/local/bin/virtualenvwrapper.sh: line 347: syntax error near unexpected token `('
-bash: /usr/local/bin/virtualenvwra开发者_Go百科pper.sh: line 347: `workon () {'

Anybody else is experimenting this?


You may clean up your Bash shell environment a bit before sourcing /usr/local/bin/virtualenvwrapper.sh.

unalias -a
unset -f $(compgen -A function)
source /usr/local/bin/virtualenvwrapper.sh
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号