RobotPy deploy doesn't work

Every time I put on my command line py -3 -m robotpy deploy, it returns this for me, the same output when py -3 -m robotpy init is loaded. I tested in other machine and no problems. Any tips to solve this issue?

Uninstall robotpy and reinstall it with the upgrade flag. You are using an old version of robotpy.

1 Like

For reference this is how you uninstall and then reinstall.

2 Likes

I reinstalled RobotPy but this error still here…

PS C:\Users\guisa\Projects\taubatexas\teste> py -3 -m robotpy deploy
Traceback (most recent call last):
  File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Python310\lib\site-packages\robotpy\__main__.py", line 4, in <module>
    main()
  File "C:\Python310\lib\site-packages\robotpy\main.py", line 261, in main
    _make_subcommands(parser, cmds, "command")
  File "C:\Python310\lib\site-packages\robotpy\main.py", line 172, in _make_subcommands
    cmds.sort()
TypeError: '<' not supported between instances of 'type' and 'type'

Do you only get that with deploy, or is it with any of the robotpy commands (e.g. sim, sync, test)

1 Like

I note that you have Python 3.10. I recommend uninstalling Python 3.10, and then installing Python 3.12 instead as that’s the version that’s on the RoboRIO.

1 Like

Thanks!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.