Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I determine which version of virtualenvwrapper is installed?

I know that which virtualenvwrapper.sh will locate the virtualenvwrapper bash script.

But, how can I determine which version of virtualenvwrapper is installed?

like image 509
Matthew Rankin Avatar asked Sep 21 '11 19:09

Matthew Rankin


People also ask

Where is virtualenvwrapper installed?

To create our virtual environment we will be using virtualenvwrapper. That installation installs virtualenvwrapper in the /usr/local/bin directory.

How do I know what version of Python VENV I have?

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.

What is virtualenvwrapper in Python?

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.

How do I install virtualenvwrapper on Windows?

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 .


1 Answers

Updated Answer 02-Jun-17

Using pip:

$ pip list | grep virtualenvwrapper
virtualenvwrapper (4.7.2)

Original Answer

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
like image 146
Matthew Rankin Avatar answered Oct 23 '22 02:10

Matthew Rankin