相关疑难解决方法(0)

Virtualenv:未找到命令

我在尝试创建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)

python virtualenv

10
推荐指数
1
解决办法
6054
查看次数

virtualenv:在Mac上安装Pip后找不到命令

我正在尝试在我的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

python macos homebrew pip virtualenv

8
推荐指数
1
解决办法
1万
查看次数

标签 统计

python ×2

virtualenv ×2

homebrew ×1

macos ×1

pip ×1