
09-02-2017, 11:35
|
 |
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,111
|
|
|
Re: Trouble installing pynetworktables on jetson
Quote:
Originally Posted by RylandB
My team is using a Jetson TX1 for CV this year, and I am getting to the part where I need to communicate. Network tables seemed like an easy solution, but I'm having problems installing pynetworktables.
I followed the instructions here http://robotpy.readthedocs.io/en/lat...ynetworktables for the linux install, but after the pip install (using sudo -H), I can't import the library in my CV code.
Tne problem seems to be having mismatched python versions, as my CV is configured for 2.7, but the networktables only installs for 3.5, even if I am using regular pip instead of pip3. Is there any way of getting it working for python 2.7, or should I start looking at serial?
|
An alternative way to execute pip is via 'python -m pip'. Presumably if you execute it with the same interpreter then it will install to the correct location for that interpreter.
__________________
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
|