Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

can't install python-pcl on Ubuntu 22.04 with python3 and pcl 1.12.1 #419

Open
Samer-Docs opened this issue Dec 25, 2022 · 3 comments
Open

Comments

@Samer-Docs
Copy link

Samer-Docs commented Dec 25, 2022

  • Operating System and version: Ubuntu 22.04.1 LTS
  • PCL Version: 1.12.1
  • Cython Version: 0.29.32
  • boost 1.74

I am trying to run ILCC for calibration between panoramic camera and HDL32 LiDAR. I installed ILCC and opened it as a PyCharm project. The following requirements in requirements file were installed properly:
PyYAML>=3.12
numpy>=1.12.1
sklearn>=0.0
scipy>=0.19.0
transforms3d>=0.3
matplotlib>=2.0.0
Cython
boost
pcl

I tried to install python-pcl using:
git clone https://github.com/mfxox/python-pcl
cd python-pcl
python3 setup.py install

As the setup.py file set for an older version of pcl. I replaced manually "pcl_version == '-1.9'" by "pcl_version == '-1.12'" in setup.py, but this doesn't help and the command python3 setup.py install lead to errors as you can see in the attached snapshot problem1.png.

However, I managed to run img_corners_est.detect_img_corners() and it works fine, but I couldn't run pcd_corners_est.detect_pcd_corners() which lead to the error:

File "/home/samer/Desktop/ILCC/ILCC/pcd_corners_est.py", line 751, in seg_pcd
import pcl
ModuleNotFoundError: No module named 'pcl'

More details are in the attached snapshot problem2.png. Did you face such a problem before? or manage to install and compile python-pcl on Ubuntu 22.04

Thanks in advance
problem1
problem2

Samer

@TriptSharma
Copy link

Having the same issue.

Did you find a solution??

@GuoZhuoRan
Copy link

Also faced this problem, anyone fixed it?

@JunzheJosephZhu
Copy link

sudo apt-get install python3-pcl pcl-tools

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants