python flask vs code error FullyQualifiedErrorId : UnauthorizedAccess

IF you are getting an error while activating venv in pythong flask

CategoryInfo : SecurityError: (:) [], PSSecurityException
FullyQualifiedErrorId : UnauthorizedAccess

Then Open powershell as administrator and set execution policy

type : Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

Reopen vscode again and try the venv activation again.


Leave a comment