Skip to content

Permissions error with Powershell install #3

Description

@lawiedc

Hi - when installing, I got the following error.

✓ Downloaded to C:\Users\user\11plus-tutor

Setting up Python environment...
iex : File C:\Users\user\11plus-tutor\venv\Scripts\Activate.ps1 cannot be loaded because running scripts is disabled on
this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:88

  • ... busercontent.com/jhammant/11plus-tutor/main/scripts/install.ps1 | iex
  •                                                                   ~~~
    
    • CategoryInfo : SecurityError: (:) [Invoke-Expression], PSSecurityException
    • FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.InvokeExpressionCommand

This was resolved with the following
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

Something to add to installation notes, or a code change, perhaps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions