update the python docs

This commit is contained in:
Ed Chalstrey 2022-03-10 11:10:53 +00:00
parent aafff2911c
commit b5bcd379a3

View File

@ -237,10 +237,10 @@ Install python and related tools.
sudo apt-get install -y python3 python3-pip python3-dev python3-venv sudo apt-get install -y python3 python3-pip python3-dev python3-venv
``` ```
Now set up a virtual environment for python. In the following example we have named the Create a virtual environment for python in the `etl` folder of your repository. In the following example we have name the virtual environment *colouringlondon* but it can have any name.
virtual environment *colouringlondon* but it can have any name.
```bash ```bash
cd ~/colouring-london/etl
pyvenv colouringlondon pyvenv colouringlondon
``` ```
@ -257,11 +257,9 @@ pip install --upgrade pip
pip install --upgrade setuptools wheel pip install --upgrade setuptools wheel
``` ```
Install the required python packages. This relies on the `requirements.txt` file located Install the required python packages.
in the `etl` folder of your local repository.
```bash ```bash
cd ~/colouring-london/etl/
pip install -r requirements.txt pip install -r requirements.txt
``` ```