Here’s a post on updating your RobotPy environment. RobotPy Update Guide for FRC 2024 | Salty Old Geek
1 Like
Cool!
I have a suggestion: In 2024 WPILib, to update Python and RobotPy in roboRIO you can use python3 -m robotpy init
, pyproject.toml
and python3 -m robotpy sync
. It’s an alternate form.
Thanks for writing a guide… but it’s not correct.
- Your guide is for 2023 and prior years, 2024 is completely different. Granted, I haven’t updated the docs at the robotpy site (shame on me), but see FRC Python Programming — FIRST Robotics Competition documentation for current documentation
- Even for 2023, commands like
python -m RobotPy_installer download-Python
would never work because all of the commands are case sensitive and lowercase. python -m robotpy_installer
does not work in 2024
1 Like
Thank you for pointing that out to me, I’ve updated the capitalizations(my mistake when editing no command names). I’m going to go through the documentation and update the post to match the correct commands. I appreciate all the feedback.
1 Like
I updated the post to reflect the changes and reference the documentation, please let me know if there’s more I need to change.