I already referred this related post but it doesn't help. Please refer the details below
I was learning about python virtual environments and was trying to execute some basic commands.
Though I am able to activate the virtualenv, I am not able to de-activate it.
The jupyter notebbok file is currently in path /home/abcd
Below is what I tried
!mkdir python-virtual-environments
!cd python-virtual-environments
!virtualenv env
!. env/bin/activate   # here `source` didn't work. So, I replaced it with `.` and it started working
!. deactivate # doesn't work. I tried `! deactivate` but it doesn't work
I get the below error
**`/bin/sh: 1: .: deactivate: not found`**
I have two questions
a) How to deactivate the virtualenv that I created env? What's the proper command?
b) Why is the env folder created in my present working directory? Shouldn't it be under python-virtual-environments based on mkdir and cd commands ?

 
     
     
    