Building and deploying python
sudo apt install python3 python3-pip
For mac and PC, use whatever means is most reliable for you.
pip3 install robotpy
It lives in a subdirectory, pybot, so change in to that first:
cd pybot
robotpy sync
This library can update frequently. The sim can run in HW mode by default. "Make sure your phoenix6 is up to date using [pip]. You can also force simulation to run by setting the CTR_TARGET=Simulation environment variable."
python -m pip install -U phoenix6robotpy simTODO: Not needed yet.
robotpy deploy --skip-tests