Hi fellow pythonistas, there seems to be a problem when virtualenv is used in PowerShell.
When I try to activate my environment in PowerShell like..
> env
I had that problem too! and finally found out what should we do in windows...
ok, follow these steps:
1)Type powershell in search bar of windows then right click on it and select Run as Administrator
(if you have problem in that check this)
2) Run the following command in powershell: Set-ExecutionPolicy Unrestricted
3) Rerun the activation command:.\\env\Scripts\activate.ps1
(just run the exact command! be careful about name of your environment.)
and that's it!:)