Reputation: 631
I wanted to know what version of virtual env is installed ? My OS is windows 10
Thank you
Upvotes: 16
Views: 52372
Reputation: 18823
pip -V
(notice capital V)If you are running the virtual env, it'll show the path to the env.'s location.
Upvotes: 0
Reputation: 52606
C:\Users\donhu\temp2023_01_08>python -m virtualenv --version
virtualenv 20.17.1 from C:\Users\donhu\AppData\Roaming\Python\Python310\site-packages\virtualenv\__init__.py
Upvotes: 2
Reputation: 350
If you are using Windows and Conda environment. You can use this command to see Virtual Environments:
conda info --envs
Upvotes: 0
Reputation: 1933
If you mean the module that is used in python you can check them with pip freeze
or pip3 freeze
based on the package manager you use.
So it would be like below:
pip freeze | grep virtualenv
output:
virtualenv==16.0.0
Upvotes: 5
Reputation: 373
In your terminal use the command:
virtualenv --version
Example output:
15.1.0
Upvotes: 23