Hello and welcome,
take a look at this
It's not related to Linux but python actually.
Python already includes turtle, you can just test it with:
python3 -m turtle
If it's still not working, you can try to paste:
bash
sudo apt update -y
sudo apt install -y \
build-essential \
python-is-python3 \
python3-virtualenv \
python3-wxgtk4.0
# Uv: # Python Package and Version Manager
curl -LsSf https://astral.sh/uv/install.sh | sh
# (You might need to close and open terminal again in this step)
uv run python -m turtle
