Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of virtualenvs

Silly question...I created a virtualenv months ago and can't remember what it's called. Where can I find it?

  • OSX 10.7
  • Python 2.7.1
  • Virtualenv 1.6.4

Thanks!

like image 326
carlmonday Avatar asked Apr 12 '12 21:04

carlmonday


People also ask

How do I see all Python environments?

To see a list of the Python virtual environments that you have created, you can use the 'conda env list' command. This command will give you the names as well as the filesystem paths for the location of your virtual environments.

What is VENV name?

The folder with the name venv is created that contains all the necessary executables to run the Python project. This is the folder where all your python packages will run. To specify the Python interpreter of your choice, you can do it easily by specifying Python{version-name}.

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 know if virtualenv is installed?

Verify if Virtualenv is installed There is a chance that virtualenv is already installed on your system. If you see a version number (in my case 1.6. 1), it's already installed.

How do I list all available virtualenv environments?

command which lists all existing virtualenv. Run workon with no argument to list available environments. workon (without parameters) is the best way! It's a command of Virtualenvwrapper. lsvirtualenv is a command proper to Virtualenv.

What is virtualenv and how to use it?

What is Virtualenv? It enables multiple side-by-side installations of Python, one for each project. clever way to keep different project environments isolated. There is a chance that virtualenv is already installed on your system. If you see a version number (in my case 1.6.1), it’s already installed.

How do I install virtualenv on Windows?

There are a number of ways to install virtualenv on your system. environment. and activate the virtual environment. Notice how the prompt of your shell changed to show the active environment.

What is virtualenv-burrito and how do I use it?

With virtualenv-burrito, you can have a working virtualenv + virtualenvwrapper environment in a single command. When you cd into a directory containing a .env, direnv automagically activates the environment. Install it on Mac OS X using brew:


2 Answers

Creating a virtualenv actually creates a new folder with that name. You have to find that folder.

like image 130
Michael Avatar answered Oct 14 '22 07:10

Michael


I recommend you to use virtualenvwrapper, after install it you can do:

$ lsvirtualenv

I also recommend you to use -b ("brief" abreviation) option to go faster:

$ lsvirtualenv -b
like image 29
Bengineer Avatar answered Oct 14 '22 09:10

Bengineer