Reputation: 169
I set up a flask site with uwsgi/nginx a while back, and set up a virtualenv.. I've forgotten the name of the venv I set up, and I can't find any way to list the virtualenv in a current dir.
How do I find out the name of my virtualenv?
Upvotes: 7
Views: 13431
Reputation: 31
If it is a conda virtualenv you can do the following:
conda info --envs
Now, Select your virtual environment and perform this:
conda activate <your_env>
Upvotes: 1
Reputation: 225095
If it’s definitely in the current directory, try ls */bin/python
. Otherwise, ls **/python
, or find . -name python
. You can, of course, just make a new one, too.
Upvotes: 10