kuixu / kitti_object_vis

KITTI Object Visualization (Birdview, Volumetric LiDar point cloud )
MIT License
1.06k stars 231 forks source link

ImportError: libjsoncpp.so.19: cannot open shared object file: No such file or directory ModuleNotFoundError: No module named 'vtkIOParallelPython' #59

Open HXB-1997 opened 1 year ago

HXB-1997 commented 1 year ago

command: $ python kitti_object.py error: ImportError: libjsoncpp.so.19: cannot open shared object file: No such file or directory
ModuleNotFoundError: No module named 'vtkIOParallelPython'

ScorpioPeng commented 1 year ago

bro, have you resolved the issue?

ouenal commented 1 year ago

I had the same issue. Try conda install jsoncpp=1.8.3

LittleFlyFish commented 1 year ago

I solved it!

Actually you need to download libjsoncpp.so.19 from source:

https://rpmfind.net/linux/rpm2html/search.php?query=libjsoncpp.so.19()(64bit)

I download the one:

libjsoncpp19-1.8.4-lp152.3.6.x86_64.html

Then you can use: sudo find / -name libjsoncpp.so.19 to find where is this file. Then you should move this to the platform folder, or link it (use the command ln -s )to the platform folder.

If you not sure where is the platform folder, you should try: sudo find / -name libjsoncpp.so.*

For me it is: /home/soe/anaconda3/envs/kitti_vis/lib/libjsoncpp.so.19

After this behavior, my problem is solved : )