Mac 中virtualenvwrapper 配置不了
来源:2-4 虚拟环境的安装和配置
qq_千与千寻_23
2017-10-11
老师:
我是用sudo pip install --user virtualenvwrapper装好virtualenvwrapper的,并且查找结果如下:
sudo find / -name virtualenvwrapper.sh
Password:
find: /dev/fd/chenwuhao: No such file or directory
find: /dev/fd/chenwuhao: No such file or directory
/Users/chenwuhao/Library/Python/2.7/bin/virtualenvwrapper.sh
chenwuhaodeMBP:~ chenwuhao$
配置的时候新建
vim ~/.bashrc
文件里面是
export WORKON_HOME=$HOME/.virtualenvs
source /Users/chenwuhao/Library/Python/2.7/bin/virtualenvwrapper.sh
然后:
chenwuhaodeMBP:~ chenwuhao$ source ~/.bashrc
-bash: /Users/chenwuhao/Library/Python/2.7/bin/virtualenvwrapper.sh: Permission denied
出现permission denied.
1回答
-
bobby
2017-10-12
权限问题, 你可以将virtualenvwrapper.sh这个文件的权限改为 777: chmod 777 virtualenvwrapper.sh
022017-10-18
相似问题