I keep getting this error whenever I try to install python3-dev. I tried many solution but it didn’t worked.
I even tried to format the SD card and re-flash the image several times but the same error is keep showing.
We tested the installation on TX2 with JetPack 4.6.3 and it can work correctly.
Could you set up your device with JetPack 4.6.3 or 4.6.4 and try it again?