I know that which virtualenvwrapper.sh
will locate the virtualenvwrapper bash script.
But, 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?
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
© 2022 - 2024 — McMap. All rights reserved.