Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Python (http://www.chiefdelphi.com/forums/forumdisplay.php?f=187)
-   -   help with installing robotpy (http://www.chiefdelphi.com/forums/showthread.php?t=153792)

Noam 17-01-2017 02:31

help with installing robotpy
 
hello, I'm trying to install robotpy, but it doesn't work.. I downloaded the zip file, and I run this command
Code:

python installer.py install-robotpy
but I get this error

Code:

C:\robotpty1\1\1\robotpy-2017.0.4>
C:\robotpty1\1\robotpy-2017.0.4>python installer.py install-robotpy
Copying over the opkg cache...
Looking up hostname roborio-3034-frc.local ...
Connecting to robot via SSH at roborio-3034-frc.local
Copying over the pip cache...
Running installation...
Done.
python36 - 3.6.0-r1
python36 already installed, continuing...
Installing netconsole-host (1.0) on root.
Collected errors:
 * check_data_file_clashes: Package netconsole-host wants to install file /usr/local/frc/bin/netconsole-host
        But that file is already provided by package  * netconsole-launcher
 * opkg_install_cmd: Cannot install package netconsole-host.
Command '['C:\\robotpty1\\1\\1\\robotpy-2017.0.4\\win32\\plink.exe', '-pw', '', 'admin@roborio-3034-frc.local', 'bash opkg_cache/install_opkg.sh && /usr/local/bin/pip3 install --no-index --find-links=pip_cache --pre --upgrade wpilib robotpy-hal-base robotpy-hal-roborio robotpy-wpilib-utilities']' returned non-zero exit status 255.

C:\robotpty1\1\robotpy-2017.0.4>

(thats the only command that I tried)
how can I fix that ?
Thanks in advance

vScourge 17-01-2017 07:06

Re: help with installing robotpy
 
I had a similar problem, until I realized I didn't image the roborio first for 2017. Have you done that?

virtuald 17-01-2017 13:25

Re: help with installing robotpy
 
Yeah, that's definitely your problem. The first thing you should do each season before using your robot is upgrade your RoboRIO image. :)

I've added a note to the install guide to remind users of this: http://robotpy.readthedocs.io/en/sta...all/robot.html


All times are GMT -5. The time now is 11:25.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi