mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
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:
parent
7d5bae5a50
commit
c56fa5a320
@ -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 \
|
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
|
||||||
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-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 \
|
xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git unzip default-jre
|
||||||
default-jre
|
|
||||||
|
|
||||||
Complete the rest of the installation by `installing Python 3.7 with pyenv <install-python-pyenv>`.
|
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
|
.. code-block:: none
|
||||||
|
|
||||||
sudo apt install python3.7 python3.7-dev build-essential libssl-dev libffi-dev git \
|
sudo apt install python3.7 python3.7-dev build-essential libssl-dev libffi-dev git \
|
||||||
unzip default-jre wget -y
|
unzip default-jre curl -y
|
||||||
wget https://bootstrap.pypa.io/get-pip.py
|
curl https://bootstrap.pypa.io/get-pip.py | sudo python3.7
|
||||||
sudo python3.7 get-pip.py
|
|
||||||
|
|
||||||
.. _install-python-pyenv:
|
.. _install-python-pyenv:
|
||||||
|
|
||||||
|
|||||||
@ -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::
|
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::
|
And activate it with the following command::
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user