I know that which virtualenvwrapper.sh
will locate the virtualenvwrapper bash script.
But, how can I determine which version of virtualenvwrapper is installed?
To create our virtual environment we will be using virtualenvwrapper. That installation installs virtualenvwrapper in the /usr/local/bin directory.
Running pyenv versions will show which Python versions are currently installed, with a * next to the one currently in use. pyenv version shows this directly, and python --version can be used to verify this. To install an additional version, say 3.4. 0 , simply use pyenv install 3.4.
virtualenvwrapper is a set of extensions to Ian Bicking's virtualenv tool. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies.
To install, run one of the following: # using pip pip install virtualenvwrapper-win # using easy_install easy_install virtualenvwrapper-win # from source git clone git://github.com/davidmarble/virtualenvwrapper-win.git cd virtualenvwrapper-win python setup.py install # or pip install .
Using pip:
$ pip list | grep virtualenvwrapper
virtualenvwrapper (4.7.2)
Not an elegant solution, but here's how I determined that I have version 2.10.1 of virtualenvwrapper installed:
$ which virtualenvwrapper.sh
/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh
$ cd /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
$ ls virtualenvwrapper*
virtualenvwrapper-2.10.1-py2.7-nspkg.pth
virtualenvwrapper-2.10-1-py2.7.egg-info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With