Go to Post Tragedies happened. We've learned from them, as individuals, as teams, as a community. - Taylor [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2017, 02:31
Noam Noam is offline
Registered User
None #3034 (galileo)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2015
Location: Israel
Posts: 14
Noam is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2017, 07:06
vScourge's Avatar
vScourge vScourge is offline
Videogame Developer
AKA: Adam Pletcher
FRC #4096 (Ctrl-Z)
Team Role: Coach
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Champaign, IL
Posts: 42
vScourge will become famous soon enough
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2017, 13:25
virtuald's Avatar
virtuald virtuald is online now
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,102
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
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
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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