From 67eb2c515372f6f14381a37c15f02bc6515e9f7c Mon Sep 17 00:00:00 2001 From: lwyso Date: Fri, 25 Dec 2015 14:31:50 +0000 Subject: [PATCH] Added possible error message for Windows 10 users MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Windows 10 computer might receive message “execution of scripts is disabled on this system.” message to prevent users to continue or work in venv. To correct this error, the user needs to set execution policy to apply to All. --- en/django_installation/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/en/django_installation/README.md b/en/django_installation/README.md index 40df42e4206..9e41a1ddadb 100644 --- a/en/django_installation/README.md +++ b/en/django_installation/README.md @@ -58,7 +58,16 @@ The command above will create a directory called `myvenv` (or whatever name you C:\Users\Name\djangogirls> myvenv\Scripts\activate -on Windows, or: +on Windows, + +> __NOTE:__ on Windows 10 you might get an error in the Windows PowerShell says `execution of scripts is disabled on this system`. In those cases open another Windows PowerShell and Run as Administrator try doing this before continue: + +> C:\WINDOWS\system32> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned + +> Execution Policy Change +> The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic at http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy? [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): A + +or: ~/djangogirls$ source myvenv/bin/activate