DreamVu / PAL-SDK

SDK for DreamVu Cameras
https://dreamvu.com/shop/
9 stars 7 forks source link

Error installing libraries on Jetson Orin AGX running Ubuntu 20.04 LTS #29

Closed LoicBoileau closed 9 months ago

LoicBoileau commented 10 months ago

Hi,

I have been trying to install your library to be able to use your camera on my Jetson Orin agx devkit. However, I am not able to install correctly all the packages. In fact, those 5 packages cant seem to work : Errors were encountered while processing: opencv-dvu lut-pal miscellaneous-pal engines-pal pal

I have joined the complete log for this command: install_pal.log

Could you help me figure out how to setup those libraries correctly ? Thanks

Loic B.

rajat974 commented 10 months ago

You can run the following commands sudo apt update sudo dpkg --remove --force-all pal && sudo apt autoremove sudo apt install pal

LoicBoileau commented 9 months ago

Update: It manged to go further than before (installing the tensors) but it still crashed, saying that python3.6 was not installed. The error message is the following :

cp: cannot create regular file '/home/gaus/DreamVu/dreamvu_ws/lib/python3.6/site
-packages/': No such file or directory
dpkg: error processing package pal (--configure):
 installed pal package post-installation script subprocess returned error exit s
tatus 1
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.12) ...
Errors were encountered while processing:
 pal
E: Sub-process /usr/bin/dpkg returned an error code (1)

And here's the full log : install_pal.log

Edit: it feels like it's trying to use the python 3.6 library when the 3.8 version is installed.

rajat974 commented 9 months ago

It looks like while installing library files it didn't pick the correct jetpack version. Can we get the output of this command to check the version.

sudo apt-cache show nvidia-jetpack | grep Version

LoicBoileau commented 9 months ago

Version: 5.1.1-b56

piyush-312 commented 9 months ago

Hi, Can you please try the recommended jetpack version i.e. JetPack 5.0.2 Let us know if you face any issue in doing so.

LoicBoileau commented 9 months ago

Hi, I have installed Jetpack 5.0.2 (i.e. 'Version: 5.0.2-b231'). However, I get the same error that of my first comment and by running the lines you gave it didn't fix it. Any idea what to do?

From what i can gather, using lut-pal package as an example, it seems the package is "not a debian package": image

piyush-312 commented 9 months ago

Hi @LoicBoileau,

Can you please try now and check using the commands sent earlier. There was some issue with our download servers which has been resolved now.

sudo apt update sudo dpkg --remove --force-all pal && sudo apt autoremove sudo apt install pal

LoicBoileau commented 9 months ago

It worked! Thanks!