How to Run Anaconda3 Code from PowerShell ?
While executing PowerShell script if you get + FullyQualifiedErrorId : UnauthorizedAccess error.
Please follow below steps.
1. Execute >Get-ExecutionPolicy -Scope CurrentUser
If this returns Undefined then we have to give access to current user to execute PowerShell command.
2. Execute >Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
3. Now you should be able to run Powershell Command.
4. Once you have done with work then again revoke access as best practice.
5. Execute >Set-ExecutionPolicy -ExecutionPolicy Undefined -Scope CurrentUser
Activate Virtual Environment using below command.
Comments
Post a Comment