Wrote a short post on setting up a development environment for robotpy that’s fast and easily repeatable. Setting up a RobotPy Development Environment | Salty Old Geek
Curious why Python 3.9 and Anaconda?
Python 3.9 seemed to be the most stable for me at the time I set things up, you could go 3.x and it should work just fine. Miniconda was a preference for me, fairly easy to install and setup, you could do straight python and venv, you’d just have to make sure you keep the venv files and folders in with your robotpy code, miniconda can be set up, and used regardless of location. TLDR it’s mostly personal preference and it’s also been easier to get the team set up this way.
For my students I’ve found the easiest path on Windows is to just install python from the python website and then use pip to install robotpy globally. Since my students don’t use python for anything else, using virtualenvs isn’t worth it. On Linux or OSX I would recommend they use the --user
install method for pip (but at the moment none of them use those).
I’ve had issues with anaconda in the past and the effort generally doesn’t seem worth it for the types of things I do.
Here’s a companion article for using python virtual environments(venv). Setting up a RobotPy Development Environment with venv | Salty Old Geek
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.