我在尝试创建virtualenv文件夹时遇到问题,因为我的终端说virtualenv似乎没有安装.
我做了什么:
sudo pip install virtualenv
Run Code Online (Sandbox Code Playgroud)
有这个回应:
The directory '/Users/ricardogonzales/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/ricardogonzales/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with …Run Code Online (Sandbox Code Playgroud) 我正在尝试在我的Mac上安装VirtualEnv.我用brew安装了Python和Pip.运行pip后运行virtualenv当我尝试使用它时,我得到:
bash: "virtualenv: command not found"
Run Code Online (Sandbox Code Playgroud)
我不确定virtualenv的安装位置.我的PATH环境变量包含:
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/X11/bin
我正在使用:Mac Os 10.7.5