Running the Joulescope UI on old macOS?

The current Joulescope UI 0.5.0 distribution targets macOS 10.14 Mojave. It may work on older versions, but we have at least one report of the distribution not working on macOS Sierra. However, you may be able to run from the source code. This topic documents how.

Open your favorite terminal program, such as iTerm2 with brew already installed:

brew install libusb python
pip3 install virtualenv
virtualenv ~/venv/joulescope
source ~/venv/joulescope/bin/activate
pip3 install numpy
pip3 install joulescope
mkdir -p ~/repos && cd $_
git clone
cd pyjoulescope_ui
pip3 install -r requirements.txt
python3 qt

Whenever you want to run the Joulescope UI, open a terminal and type:

source ~/venv/joulescope/bin/activate
cd ~/repos/pyjoulescope_ui
python3 -m joulescope_ui

One Joulescope owner attempted to get the Joulescope UI running on macOS 10.10 Yosemite. PySide2 was not found through brew/pip3, even after removing the version specification (currently 5.13.0) from the requirements.txt:

ERROR: Could not find a version that satisfies the requirement PySide2 (from -r requirements.txt (line 10)) (from versions: none)
ERROR: No matching distribution found for PySide2 (from -r requirements.txt (line 10))