I wanted to know what version of virtual env is installed ? My OS is windows 10
Thank you
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. I am using Windows CMD. The grep command is not recognized, I used pip freeze and it also showed me all the version and installed packages so +1.
Open the Windows Command Prompt enter into your Desktop folder with the command cd desktop . You can find your device's command line interface (CLI) by searching in your applications.> Type py -m venv env to create a virtual environment named env . When the environment is created, the prompt will reappear.
To learn about your environment details, run conda info with the optional flag --envs to see all your environments. To check your Python version, run python -V or python – version in your terminal.
If you try to run virtualenv and find it isn't present, you can install it using pip. virtualenv.exe will likely now be found in your python installation directory under the Scripts subdirectory.
In your terminal use the command:
virtualenv --version
Example output:
15.1.0
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
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