K
K
Kirill Gusarev2022-01-08 06:26:06
Visual Studio Code
Kirill Gusarev, 2022-01-08 06:26:06

How to fix pyenv activation error in VS Code?

Every time I open the project folder using VS Code in the terminal, I see an error that the execution of scripts (Activate.ps1) is prohibited for this system - I have to type the command into the terminal every time

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
. I know that there is another command that allows forever, but then the security of the system will decrease, and I am afraid to do this.

How to force VS Code to auto-scribe
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
before activating the virtual environment?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question