From f9fdc50b2e89cca11ec3ae653f57e1f112a5c962 Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Tue, 8 Dec 2020 20:54:13 +0100 Subject: [PATCH] Note on virtualenv and Python 3.8 Mysql dep. #61 --- docs/installation-development.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/installation-development.md b/docs/installation-development.md index 22320828..1e3634d2 100644 --- a/docs/installation-development.md +++ b/docs/installation-development.md @@ -39,7 +39,7 @@ In case of MariaDB this is: ```shell sudo apt-get install \ - python-dev \ + python3.8-dev \ default-libmysqlclient-dev \ mariadb-server \ libmariadbclient-dev @@ -84,6 +84,19 @@ git clone https://gitlab.servus.at/autoradio/engine ## Installation +Create a virtual environment for your Python dependencies: + +```shell +virtualenv -p python3.8 python +``` + +To activate that environment, run + +```shell +source python/bin/activate +``` + +Install the required dependencies ```shell ./install.sh -- GitLab