strawlab/python-pcl

ICP fails, caused by too new version of numpy

AmnonDrory opened this issue · 0 comments

Taken from (translated version of) https://blog.csdn.net/baidu_40840693/article/details/103780803 :

Error message:

File "pcl/pxi/registration/IterativeClosestPoint_172.pxi", line 104, in pcl._pcl.IterativeClosestPoint.icp
File "pcl/pxi/registration/IterativeClosestPoint_172.pxi", line 71, in pcl._pcl.IterativeClosestPoint.run
ValueError: Non-string object detected for the array ordering. Please pass in 'C', 'F', 'A', or 'K' instead

Reason:

The version of numpy is not compatible with pcl-python, please use the largest version of numpy 1.17.5, higher ones will cause problems