From 15c581c641c45017657debfa1857006577e4175b Mon Sep 17 00:00:00 2001 From: Lobethal Lutheran School <79490741+Lobethal-Lutheran-School@users.noreply.github.com> Date: Sun, 7 Mar 2021 13:26:51 +1030 Subject: [PATCH] Add hints for python setup under *buntu 20.04 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b702d9b..005505f 100755 --- a/README.md +++ b/README.md @@ -72,14 +72,14 @@ $ source venv/bin/activate (venv) $ pip install pip -U (Optional - this updates pip) ``` -If not using a venv, you may need to replace `pip` with `pip3`, and `python` with `python3` below to ensure you are using Python3. Older linux distributions will likely have both Python 2.7 and Python 3 installed - this software only supports Python 3. +If not using a venv, you may need to replace `pip` with `pip3`, and `python` with `python3` below to ensure you are using Python3. Older linux distributions will likely have both Python 2.7 and Python 3 installed - this software only supports Python 3. On linux distros you may need to install `python3-venv`. ### Install Python Dependencies ```console $ pip install -r requirements.txt ``` -NOTE: If you get errors relating to pyaudio when trying to install into a venv, make sure that portaudio is installed (`libportaudio-dev` under Linux distros, or `portaudio` under Macports), and then install pyaudio pointing to the portaudio lib by running: +NOTE: Under linux based distros, you may also need to install `python3-distutils` and `python-setuptools`. If you get errors relating to pyaudio when trying to install into a venv, make sure that portaudio is installed (`libportaudio-dev` or `portaudio19-dev` under Linux distros, or `portaudio` under Macports), and then install pyaudio pointing to the portaudio lib by running: ``` (Linux) $ pip install --global-option='build_ext' --global-option='-I/usr/include' --global-option='-L/usr/lib' pyaudio (OSX) $ pip install --global-option='build_ext' --global-option='-I/opt/local/include' --global-option='-L/opt/local/lib' pyaudio @@ -124,4 +124,4 @@ $ . venv/bin/activate (if using a venv) $ pip install horusdemodlib --upgrade ``` -You should then be OK to run horusgui. Configuration settings will be reset when the version number of horus-gui is incremented, until I settle on on a configuration parameter set. \ No newline at end of file +You should then be OK to run horusgui. Configuration settings will be reset when the version number of horus-gui is incremented, until I settle on on a configuration parameter set.