Skip to content

Commit 1958088

Browse files
committed
Added minimum python release variable
1 parent f99a47c commit 1958088

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

book.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"variables": {
44
"py_version": "3.8",
55
"py_release": "3.8.6",
6-
"py_min_version": "3.6.8",
6+
"py_min_version": "3.6",
7+
"py_min_release": "3.6.8",
78
"pa_py_version": "3.8",
89
"django_version": "2.2.4"
910
},

en/python_installation/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ One thing to watch out for: During the installation, you will notice a window ma
2222

2323
When the installation completes, you may see a dialog box with a link you can follow to learn more about Python or about the version you installed. Close or cancel that dialog -- you'll be learning more in this tutorial!
2424

25-
Note: If you are using an older version of Windows (7, Vista, or any older version) and the Python {{ book.py_version }} installer fails with an error, then install all Windows Updates and try to install Python again. If you still have the error, try installing Python version {{ book.py_min_version }} from [Python.org](https://www.python.org/downloads/windows/).
25+
Note: If you are using an older version of Windows (7, Vista, or any older version) and the Python {{ book.py_version }} installer fails with an error, then install all Windows Updates and try to install Python again. If you still have the error, try installing Python version {{ book.py_min_release }} from [Python.org](https://www.python.org/downloads/windows/).
2626

2727
> Django {{ book.django_version }} needs Python {{ book.py_min_version }} or greater, which does not support Windows XP or earlier versions.
2828
@@ -51,7 +51,7 @@ $ python3 --version
5151
Python {{ book.py_release }}
5252
```
5353

54-
If you have a different version of Python installed, at least {{ book.py_min_version }} (e.g. {{ book.py_release }}), then you don't have to upgrade. If you don't have Python installed, or if you want a different version, first check what Linux distribution you are using with the following command:
54+
If you have a different version of Python installed, at least {{ book.py_min_version }} (e.g. {{ book.py_min_release }}), then you don't have to upgrade. If you don't have Python installed, or if you want a different version, first check what Linux distribution you are using with the following command:
5555

5656
{% filename %}command-line{% endfilename %}
5757
```

0 commit comments

Comments
 (0)