开发者

virtualenvwrapper.sh doesn't not run

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜