Sir like you have written source env/bin/activate.
what do we have to write in cmd so as to activate the virtual environment
Activate virtualenv in cmd
On windows you need to write
env\Scripts\activate
sir it is showing that activating running scripts is disabled. what do we have to do in that case
Try running your Powershell as administrator.
Sir it is showing the same thing
Try running the below command -
env\Scripts\activate.ps1
If the above command doesnt work then open your powershell as an administrator and write the following command .
Set-ExecutionPolicy Unrestricted -Force
Then try to run your command to start the virtualenv.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.