Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check what version of Virtual Env is installed

I wanted to know what version of virtual env is installed ? My OS is windows 10

Thank you

like image 558
Adds Avatar asked Aug 08 '19 19:08

Adds


People also ask

How do I find virtualenv version?

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.

How can I see virtual environment in CMD?

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.

How do I check the version of an env in Python?

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.

Where virtualenv is installed?

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.


2 Answers

In your terminal use the command: virtualenv --version

Example output: 15.1.0

like image 116
Paper-SSheets Avatar answered Oct 27 '22 18:10

Paper-SSheets


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
like image 43
Alireza HI Avatar answered Oct 27 '22 18:10

Alireza HI