Raspberry Pi Setting - Home

The last line activates the environment. Your prompt should change to show that you are in an active virtenv. To deactivate type deactivate. If you log out, close the terminal, or restart the Pi, or open a new terminal, you need to run the activate command again. If not you won't be in the virtual environment. ................
................