Apologies if this has already been covered!
I am running a relatively basic line detection code and intend on using some computations from the live video input to drive a servo motor for steering my robot via GPIO.
However, I am facing issues with importing the Jetson.GPIO to the code and receiving this error message:
import Jetson.GPIO as GPIO
ImportError: No module named Jetson.GPIO
I followed Nvidia’s beginners instructions to flashing the most up to date NANO image to my device and I am able to navigate to the jetson-gpio folder via the following directory:
$ cd /opt/nvidia
I have attempted running the setup.py file from within this directory, however this then returns a similar error:
from setuptools import setup
ImportError: No module named setuptools
I’m certain this is an easy fix, can anyone help?