csiro-robotics / locus

[ICRA 2021] This repository contains the code for "Locus: LiDAR-based Place Recognition using Spatiotemporal Higher-Order Pooling".
https://arxiv.org/abs/2011.14497
Other
121 stars 15 forks source link

ImportError: libpcl_keypoints.so.1.7: cannot open shared object file: No such file or directory #3

Closed CogmanCVN closed 2 years ago

CogmanCVN commented 2 years ago

Hello, when I configure the environment according to the suggestions in readme and run the code, an error occurs:

/home/zqy/LIBRARY/anaconda3/envs/locus_env/bin/python3.6 /home/zqy/PycharmProjects/locus-main/main.py Traceback (most recent call last): File "/home/zqy/PycharmProjects/locus-main/main.py", line 18, in from segmentation.extract_segments import File "/home/zqy/PycharmProjects/locus-main/segmentation/extract_segments.py", line 4, in import pcl File "/home/zqy/.local/lib/python3.6/site-packages/pcl/init.py", line 2, in from ._pcl import ImportError: libpcl_keypoints.so.1.7: cannot open shared object file: No such file or directory

Why rely on this file: libpcl keypoints.so.1.7???

My system is Ubuntu 18.04. I have installed: tensorflow1.13.1 pcl-1.8.1 open3d-0.11.2

I hope you can give me some guidance

kavisha725 commented 2 years ago

Hi, This is probably from pcl and python-pcl not being installed properly. Did you follow the instructions in: utils/setup_python_pcl.txt ?

CogmanCVN commented 2 years ago

Thank you for your reply, the problem has been solved, I according to this text utils/setup_python_pcl.txt. During this period, we encountered the problem of slow access to conda website, but we need to wait patiently.

Thank you