[英]Installed pip, but can't find where the virtualenvwrapper_bashrc
How can I find out where the virtualenvwrapper_bashrc file is? 我怎样才能找到virtualenvwrapper_bashrc文件的位置?
I'm looking in: 我正在寻找:
/System/Library/Frameworks/Python.framework/Versions/2.6/bin
But I don't see it? 但我不明白吗?
You say that you installed pip
, but you don't say whether or not you installed virtualenvwrapper
, which is neither included with pip
nor virtualenv
. 你说你安装了
pip
,但你没有说你是否安装了virtualenvwrapper
,它既不包含在pip
也不包含在virtualenv
。
If you have installed virtualenvwrapper
using 如果你已经安装了
virtualenvwrapper
pip install virtualenvwrapper
or something similar, then you can use the following to find where it is located: 或类似的东西,然后您可以使用以下内容来查找它的位置:
$ which virtualenvwrapper.sh
In ver 1.x, the file was called virtualenvwrapper_bashrc
; 在ver 1.x中,该文件名为
virtualenvwrapper_bashrc
; however, Doug Hellmann—the creator of virtualenvwrapper—changed the name to virtualenvwrapper.sh
starting in version 2.x. 然而,virtualenvwrapper的创建者Doug Hellmann在版本2.x中将名称更改为
virtualenvwrapper.sh
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.