You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build a script that both uses the jetson-inference library from the docker container while also having access to the GPIO pins. I found the Jetson.GPIO file location and added this to the docker container with:
docker/run.sh --volume /home/group8/jetson-inference/python/kill-weed/weed-detect.py:/jetson-inference/python/kill-weed/weed-detect.py --volume /usr/lib/python3/dist-packages/Jetson/GPIO/:/jetson-inference/usr/lib/python3/dist-packages/Jetson/GPIO/
This is the default path provided with the SD card image that was flashed to the Jetson and I was able to make a sample program that uses the Jetson.GPIO module outside of the docker container. I also tried adding a pip install run message in the docker file, but this did not work either. I copied the /usr/ directory to the jetson-inference folder so that the host and container paths in the --volume argument were consistent. Could this have caused any issues? Any help on how to solve the ModuleNotFoundError would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hello Dusty,
I am trying to build a script that both uses the jetson-inference library from the docker container while also having access to the GPIO pins. I found the Jetson.GPIO file location and added this to the docker container with:
docker/run.sh --volume /home/group8/jetson-inference/python/kill-weed/weed-detect.py:/jetson-inference/python/kill-weed/weed-detect.py --volume /usr/lib/python3/dist-packages/Jetson/GPIO/:/jetson-inference/usr/lib/python3/dist-packages/Jetson/GPIO/
This is the default path provided with the SD card image that was flashed to the Jetson and I was able to make a sample program that uses the Jetson.GPIO module outside of the docker container. I also tried adding a pip install run message in the docker file, but this did not work either. I copied the /usr/ directory to the jetson-inference folder so that the host and container paths in the --volume argument were consistent. Could this have caused any issues? Any help on how to solve the ModuleNotFoundError would be greatly appreciated.
The text was updated successfully, but these errors were encountered: