Python Forum
virtual environment - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: virtual environment (/thread-34162.html)



virtual environment - heye - Jul-02-2021

Hi
i have created numbers of virtual environment with python3 in ubuntu.
now , i have lost track of them.
May I know how to list the name of the virtual env i have created?
Thanks Tongue


RE: virtual environment - Axel_Erfurt - Jul-02-2021

locate activate | grep "/bin/activate"


RE: virtual environment - heye - Jul-04-2021

(Jul-02-2021, 08:28 AM)Axel_Erfurt Wrote: locate activate | grep "/bin/activate"

Hi Axel,
Thank you very much for you help.


RE: virtual environment - heye - Jul-04-2021

but why "lsvirtualenv" does not work (command not found)


RE: virtual environment - ndc85430 - Jul-04-2021

Do you have virtualenvwrapper installed? It appears to be part of that: https://virtualenvwrapper.readthedocs.io/en/latest/command_ref.html.