Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Python (http://www.chiefdelphi.com/forums/forumdisplay.php?f=187)
-   -   Trouble installing pynetworktables on jetson (http://www.chiefdelphi.com/forums/showthread.php?t=154998)

RylandB 09-02-2017 11:21

Trouble installing pynetworktables on jetson
 
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?

virtuald 09-02-2017 11:35

Re: Trouble installing pynetworktables on jetson
 
Quote:

Originally Posted by RylandB (Post 1642465)
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.

RylandB 09-02-2017 12:02

Re: Trouble installing pynetworktables on jetson
 
Worked perfectly! Thank you so much!


All times are GMT -5. The time now is 10:42.

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