From 2e0841e6fe65dda10c884e68b33e81d72e2fb0bf Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Tue, 7 Nov 2017 16:09:13 -0500 Subject: [PATCH 1/2] Explicitely declare Python 3.6 in the shebang Fixes #124 --- pokemonterminal/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokemonterminal/main.py b/pokemonterminal/main.py index 8c47892..0e8bf7a 100644 --- a/pokemonterminal/main.py +++ b/pokemonterminal/main.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python3.6 """The main module that brings everything together.""" import os From 92efb3bf3f04a54ed90dc02ebd34deaae64808e2 Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Tue, 7 Nov 2017 16:24:52 -0500 Subject: [PATCH 2/2] Add notice for Python 3.6 on Ubuntu distros. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ecc2bbf..ae24de4 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ Sample Set #1 | Sample Set #2 Type `python3 -V` in your terminal to verify that you have [Python 3.6](https://www.python.org/downloads/) or later installed. +[Users of Ubuntu 16.04 and before can get Python 3.6 from a PPA.](https://askubuntu.com/a/865569) On more recent versions, you can install it with just `sudo apt install python3.6`. It is also preinstalled in 17.10 and upwards. + ## npm You can install in any (npm-supported) OS using `npm install --global pokemon-terminal`. That's it, you're done!