I’m new to this whole thing, I was following Paul McWhorters tutorial series and got to lesson 31 where he starts controlling servos with the adafruit_servokit library, but when I ran the code it gave me a syntax error in init.py file. I read some comments, didnt find the problem, went to his lesson 36 and 37 where he upgrades to jetpack 4.3, tried to follow along, typing in all his commands but h5py would always fail to build wheel. For the next 2 days i tried different solutions from the internet, but nothing worked, so now i’ve flashed the SD (with jetpack 4.6.1) and want to start fresh, but what am i supposed to do to get tensorflow, h5py and adafruit_servokit to work? First it gave error when installing backend dependancies, so i ran “sudo ln -s /usr/include/locale.h /usr/include/xlocale.h” and it got past the dependancies, but now it fails to build wheel.
error.txt (32.3 KB)
Hi,
Not sure about the adafruit_servokit package.
But you should able to install TensorFlow with the below command (including the fix for xlocale).
Please give it a try.
Thanks.
Thanks, i’ll try it, but how do i get Jetpack version 4.6.3? The getting started page only seems to provide image for 4.6.1. Online it said it can be downloaded using SDK manager, but after looking through it I didn’t really understand, someone in the Nvidia Jetson discord group said he got it with “apt update and and upgrade”, but im not sure exactly what he meant.
Hi,
The command should work on JetPack 4.6.x.
Please give it a try.
Thanks.
Thanks, I tried it and everything seemed to go successfully and it even created h5py wheel successfully. Unfortunately that didn’t seem to fix the adafruit_servokit problem, but I’ll start a new post about that.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.