-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
during installationProblems that appear when installing PyRatProblems that appear when installing PyRatsolvedThis problem has a solutionThis problem has a solutionwindowsFor issues on WindowsFor issues on Windows
Description
If you get the following error when trying to activate your virtual environment:
venv_project\Scripts\Activate.ps1 : Impossible de charger le fichier
C:\...\venv_project\Scripts\Activate.ps1, car l’exécution de scripts est
désactivée sur ce système. Pour plus d’informations, consultez
about_Execution_Policies à l’adresse https://go.microsoft.com/fwlink/?LinkID=135170.
Au caractère Ligne:1 : 1
+ venv_project\Scripts\Activate.ps1
+ ~~~~~~~~~
+ CategoryInfo : Erreur de sécurité : (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
Just run the following command to enable using script:
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
Then activate your virtual environment again and it should work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
during installationProblems that appear when installing PyRatProblems that appear when installing PyRatsolvedThis problem has a solutionThis problem has a solutionwindowsFor issues on WindowsFor issues on Windows