# Create a virtualenv with the homebrew python
python3.9 -m venv venv
# Activate the virtualenv
source venv/bin/activate
# Install the packages inside virtualenv
pip install -r requirements/gui.txt
# Run the app
python main.py
# Create a virtualenv with the homebrew python
/opt/homebrew/bin/python3.9 -m venv --system-site-packages teststat_venv
# Install PyQT with homebrew
brew install pyqt@5
# Activate the virtualenv
source teststat_venv/bin/activate
# Install the packages inside virtualenv
pip install -r requirements/gui_M1.txt
# Run the app
python main.py
The GitLab Docker build image installs a Python 3.9 virtual environment with all requirements and can be used locally.
docker build -t teststat -f .gitlab/Dockerfile .
docker run -v "$(pwd)":/src -it teststat