Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.
This repository was 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

@Samer-Docs

Description

@Samer-Docs
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions