You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/django_installation/instructions.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ To create a new `virtualenv`, you need to open the command prompt and run `pytho
41
41
C:\Users\Name\djangogirls> python -m venv myvenv
42
42
```
43
43
44
-
Where `myvenv` is the name of your `virtualenv`. You can use any other name, but stick to lowercase and use no spaces, accents or special characters. It is also good idea to keep the name short – you'll be referencing it a lot!
44
+
Where `myvenv` is the name of your `virtualenv`. You can use any other name, but stick to lowercase and use no spaces, accents or special characters. It is also a good idea to keep the name short – you'll be referencing it a lot!
45
45
46
46
<!--endsec-->
47
47
@@ -106,7 +106,7 @@ $ python3 -m venv myvenv
106
106
107
107
## Working with virtualenv
108
108
109
-
The command above will create a directory called `myvenv` (or whatever name you chose) that contains our virtual environment (basically a bunch of directory and files).
109
+
The command above will create a directory called `myvenv` (or whatever name you chose) that contains our virtual environment (basically a bunch of directories and files).
110
110
111
111
<!--sec data-title="Working with virtualenv: Windows" data-id="virtualenv_windows"
112
112
data-collapse=true ces-->
@@ -118,7 +118,7 @@ Start your virtual environment by running:
> __NOTE:__ on Windows 10 you might get an error in the Windows PowerShell that says `execution of scripts is disabled on this system`. In this case, open another Windows PowerShell with the "Run as Administrator" option. Then try typing the following command before starting your virtual environment:
121
+
> __NOTE:__ On Windows 10 you might get an error in the Windows PowerShell that says `execution of scripts is disabled on this system`. In this case, open another Windows PowerShell with the "Run as Administrator" option. Then try typing the following command before starting your virtual environment:
<!-- (This comment separates the two blockquote blocks, so that GitBook and Crowdin don't merge them into a single block.) -->
131
131
132
-
> __NOTE:__ For users of the popular editor VS Code, which come with an integrated terminal based off windows PowerShell, if you wish to stick with the integrated terminal, you may run the following command to activate your virtual environment:
132
+
> __NOTE:__ For users of the popular editor VS Code, which comes with an integrated terminal based off windows PowerShell, if you wish to stick with the integrated terminal, you may run the following command to activate your virtual environment:
133
133
>
134
134
>```
135
135
>$ . myvenv\Scripts\activate.ps1
@@ -150,7 +150,7 @@ $ source myvenv/bin/activate
150
150
151
151
Remember to replace `myvenv` with your chosen `virtualenv` name!
152
152
153
-
> __NOTE:__ sometimes `source` might not be available. In those cases try doing this instead:
153
+
> __NOTE:__ If the command `source` is not available, try doing this instead:
> If you get an error when calling pip on Windows platform, please check if your project pathname contains spaces, accents or special characters (for example, `C:\Users\User Name\djangogirls`). If it does, please consider using another place without spaces, accents or special characters (suggestion: `C:\djangogirls`). Create a new virtualenv in the new directory, then delete the old one and try the above command again. (Moving the virtualenv directory won't work since virtualenv uses absolute paths.)
214
+
> If you get an error when calling pip on Windows, please check if your project pathname contains spaces, accents or special characters (for example, `C:\Users\User Name\djangogirls`). If it does, please consider using another place without spaces, accents or special characters (suggestion: `C:\djangogirls`). Create a new virtualenv in the new directory, then delete the old one and try the above command again. (Moving the virtualenv directory won't work since virtualenv uses absolute paths.)
215
215
216
216
<!--endsec-->
217
217
218
218
<!--sec data-title="Installing Django: Windows 8 and Windows 10" data-id="django_err_windows8and10"
219
219
data-collapse=true ces-->
220
220
221
-
> Your command line might freeze after when you try to install Django. If this happens, instead of the above command use:
221
+
> Your command line might freeze when you try to install Django. If this happens, instead of the above command use:
0 commit comments