Prerequisites¶
Before installing DiscoPygal, install the tools listed in this page.
General prerequisites¶
For every platform, you need:
At least 8GB of RAM, especially if you are using a virtual machine or WSL.
Python 3.10 or newer.
Git.
A C++ compiler.
Installing Python and uv¶
Use the shell selector below to install uv and prepare Python.
curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install
winget install --id astral-sh.uv -e
uv python install
Installing C++ compiler¶
Install Visual Studio or Visual Studio Build Tools.
If you install Visual Studio Build Tools, choose Desktop development with C++.
Make sure to choose these components from the sidebar:
xcode-select --install
sudo apt install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-12 g++-12
export CC=gcc-12
export CXX=g++-12
Installing Git¶
winget install --id Git.Git -e --source winget
Git is typically installed with the Xcode Command Line Tools.
xcode-select --install
git --version
add-apt-repository ppa:git-core/ppa
apt update
apt install git
Installing PySide6 dependencies¶
Install PySide6 explicitly for Linux / Windows / Apple-Silicon machines
uv add PySide6