Go to python.org, download and install Python 3. Will require admin access on your machine.
https://www.python.org/downloads/
Next, install pyfrc via pip (requires internet). Open up the command prompt:
py -3 -m pip install pyfrc
Next, install pyfrc via pip (requires internet). Open up a terminal and do one of the following:
OSX (admin access):
sudo pip3 install pyfrc
OSX (no admin access):
pip3 install --user pyfrc
Or on the internet:
pip3 install --user pyfrc
Once you have the requirements installed, you can run this from a terminal or command prompt.
Don't forget to change directory to where robot.py is!
OSX:
python3 robot.py sim
Linux:
python3 robot.py sim
Or on windows:
py -3 robot.py sim
Open up robot.py, select "Run As" and "Python Run", and make sure to add the 'sim' argument to your run configuration.
RobotPy Documentation is available online at:
http://robotpy.readthedocs.io/
http://pyfrc.readthedocs.io/
There are more RobotPy samples online at
https://github.com/robotpy/robotpy-wpilib/tree/master/examples/examples
https://github.com/robotpy/pyfrc/tree/master/samples
Also see the RobotPy mailing list:
https://groups.google.com/forum/#!forum/robotpy
Dustin Spicuzza ([email protected])