Minor changes to install docs (#2427)

- When creating a venv, use `python3.7` instead of `python3`
- Remove unnecessary dependency from pyenv pre-requirements on Debian
- Use curl over wget for get-pip on Xenial

Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
Toby Harradine 2019-02-07 10:51:17 +11:00 committed by GitHub
parent 7d5bae5a50
commit c56fa5a320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -67,8 +67,7 @@ Debian/Raspbian Stretch. This guide will tell you how. First, run the following
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl python3-openssl git unzip \
default-jre
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git unzip default-jre
Complete the rest of the installation by `installing Python 3.7 with pyenv <install-python-pyenv>`.
@ -127,9 +126,8 @@ Now, install python, pip, git and java with the following commands:
.. code-block:: none
sudo apt install python3.7 python3.7-dev build-essential libssl-dev libffi-dev git \
unzip default-jre wget -y
wget https://bootstrap.pypa.io/get-pip.py
sudo python3.7 get-pip.py
unzip default-jre curl -y
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.7
.. _install-python-pyenv:

View File

@ -24,7 +24,7 @@ to keep it in a location which is easy to type out the path to. From now, we'll
~~~~~~~~~~~~~~~~~~~~~~~~
Create your virtual environment with the following command::
python3 -m venv path/to/venv/
python3.7 -m venv path/to/venv/
And activate it with the following command::