在 OPENMMS 教程中,由于以下错误,我们无法继续。
Traceback (most recent call last):
File "C:\Python\Python37\lib\multiprocessing\process.py", line 297, in _bootstrap
self.run()
File "C:\Python\Python37\lib\multiprocessing\process.py", line 99, in run
self._target(*self._args, **self._kwargs)
File "C:\OpenMMS\code\openmms_georeference_livox.py", line 1416, in georenter code hereefChunk_livox
timeMin, timeMax, logMessStr = outputPrcsPoints_l_verbose(lock,filePath,chunkFileName,X,Y,Z,points_timing,points_intens,points_dist,points_azi,points_vert,R,P,H,Xg,Yg,Zg,Lat,Lon,Xg_offset,Yg_offset,Zg_offset)
File "C:\OpenMMS\code\openmms_georeference_livox.py", line 1072, in outputPrcsPoints_l_verbose
hdr = laspy.header.Header()
AttributeError: module 'laspy.header' has no attribute 'Header'
为什么会出现这个错误?
将 laspy 版本更改为 1.7.0(从 2.x)即可修复该问题。
我已经在使用 laspy 1.7.0 版本。我仍然收到“AttributeError:模块'laspy'没有属性'read'”