python-pcl icon indicating copy to clipboard operation
python-pcl copied to clipboard

AttributeError: module 'pcl' has no attribute 'load'

Open Juuustin opened this issue 4 years ago • 3 comments

it is a little bit weird that I could run 'import pcl p = pcl.load(".pcd")' in the terminal but there is an error when I run it through spyder.

I am using anaconda in ubuntu 16.4 and the version of python-pcl is 0.3.0a1. Any ideas or suggestions?

Juuustin avatar May 01 '20 21:05 Juuustin

Since you didn't specify the error I can't be sure, but it's probably that the path to the pcd file is incorrect. Try giving it an absolute path. e.g. cloud = pcl.load('/home/user/myfolder/myfile.pcd')

Etshhh avatar Dec 23 '20 03:12 Etshhh

Since you didn't specify the error I can't be sure, but it's probably that the path to the pcd file is incorrect. Try giving it an absolute path. e.g. cloud = pcl.load('/home/user/myfolder/myfile.pcd')

The error is the title of the issue what do you mean?

Also the error is saying that the 'load' method doesn't exist in the pcl module, giving absolute path doesn't work here

C-o-d-e-C-o-w-b-o-y avatar Jul 20 '21 15:07 C-o-d-e-C-o-w-b-o-y

Recently, I alse met this problem, I think there is not load function in this pcl version

459737087 avatar Dec 01 '21 07:12 459737087