How can I determine which version of virtualenvwrapper is installed?
Asked Answered
D

1

7

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

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

Diacid answered 21/9, 2011 at 19:20 Comment(0)
D
8

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
Diacid answered 27/10, 2011 at 14:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.