Discovering which virtual environment you are using

Download python eBook

Example

If you are using the default bash prompt on Linux, you should see the name of the virtual environment at the start of your prompt.

(my-project-env) user@hostname:~$ which python
/home/user/my-project-env/bin/python

Stats

Contributors: 1
2016-07-21
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook