PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
9.64k stars 4.59k forks source link

Docker Build Failing #6067

Closed git-sachin1066 closed 2 weeks ago

git-sachin1066 commented 2 weeks ago

Dear Team, I am trying to follow the docker build process from the following link https://pcl.readthedocs.io/projects/tutorials/en/master/compiling_pcl_docker.html#docker-container-configuration

followed the whole setup from

docker image pull till make -j2 install

ultimately i been able to make it run bu command docker run --user $(id -u):$(id -g) -v $PWD/pcl:/home --rm -it pointcloudlibrary/env:20.04 bash

uncertainly , inside the container when i do python import , cannot find pcl. is there anything i have done wrong

here is the full log

I have no name!@8e325862ad2a:/$ python3                                                                                                   
Python 3.8.10 (default, Nov 22 2023, 10:22:35)                                                                                            
[GCC 9.4.0] on linux                                                                                                                      
Type "help", "copyright", "credits" or "license" for more information.                                                                    
>>> import pcl                                                                                                                            
Traceback (most recent call last):                                                                                                        
  File "<stdin>", line 1, in <module>                                                                                                     
ModuleNotFoundError: No module named 'pcl'        
git-sachin1066 commented 2 weeks ago

the same thing happened when i build Dockerfile in .dev/env/Dockerfile

mvieth commented 2 weeks ago

PCL does not officially support python. There are some projects which make PCL available in python (e.g. python-pcl, pclpy, possibly more) but we do not provide any support for them here.