user1100121
user1100121

Reputation: 53

I can't remember the name of the virtual environment - how can I see a list of all virtual environments?

I installed a virtual environment as per: http://docs.python-guide.org/en/latest/dev/virtualenvs/

I stopped working on the project for a few days and can't remember the name of the environment. How can I find out the name? I've done some searchign and came across this exact question here:

Forgot virtualenv name - how to find the name of the virtual env?

When I try the suggestions the terminal just says the command doesn't exist.

Upvotes: 3

Views: 10633

Answers (5)

zabidima
zabidima

Reputation: 41

I typically do this:

conda info --envs

Upvotes: 0

Eranda J.
Eranda J.

Reputation: 529

To find the lost Django virtual Environments. in the terminal type the command : lsvirtualenv or in Windows Operating System you are able to see it in File Explorer

C:\Users<User Name>\Envs\

Upvotes: 0

mel el
mel el

Reputation: 501

If you are using conda try this at the command prompt:

conda env list

This should give you a summary of all accessible environment which you have created.

Upvotes: 2

tam3ourine
tam3ourine

Reputation: 1

From my bash terminal, I type ls and it lists all of my directories from there, including my virtual environments. If you do not see your virtual environments listed, try changing directory into the folder that it is contained in.

Upvotes: 0

Lauren
Lauren

Reputation: 5778

Using the terminal cd here /Users/${USER}/Library/Jupyter/kernels and then do an ls to see all your names.

got this answer from this post

Upvotes: 0

Related Questions