Skip to content

Commit 99bb5b0

Browse files
committed
hardcode PythonAnywhere Python version to 3.8
fixes DjangoGirls#1694
1 parent 79d0341 commit 99bb5b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

en/deploy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Deploying a web app on PythonAnywhere involves pulling down your code from GitHu
176176

177177
{% filename %}PythonAnywhere command-line{% endfilename %}
178178
```
179-
$ pip{{ book.pa_py_version }} install --user pythonanywhere
179+
$ pip3.8 install --user pythonanywhere
180180
```
181181

182182
That should print out some things like `Collecting pythonanywhere`, and eventually end with a line saying `Successfully installed (...) pythonanywhere- (...)`.
@@ -185,7 +185,7 @@ Now we run the helper to automatically configure our app from GitHub. Type the f
185185

186186
{% filename %}PythonAnywhere command-line{% endfilename %}
187187
```
188-
$ pa_autoconfigure_django.py --python={{ book.pa_py_version }} https://github.com/<your-github-username>/my-first-blog.git
188+
$ pa_autoconfigure_django.py --python=3.8 https://github.com/<your-github-username>/my-first-blog.git
189189
```
190190

191191
As you watch that running, you'll be able to see what it's doing:

0 commit comments

Comments
 (0)