How 开发者_Python百科can I find out where the virtualenvwrapper_bashrc file is?
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
.
If you have installed virtualenvwrapper
using
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
; however, Doug Hellmann—the creator of virtualenvwrapper—changed the name to virtualenvwrapper.sh
starting in version 2.x.
精彩评论