openmms教程python3.7.9 laspy错误

问题描述 投票:0回答:2

在 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'

为什么会出现这个错误?

attributeerror
2个回答
1
投票

将 laspy 版本更改为 1.7.0(从 2.x)即可修复该问题。


0
投票

我已经在使用 laspy 1.7.0 版本。我仍然收到“AttributeError:模块'laspy'没有属性'read'”

© www.soinside.com 2019 - 2024. All rights reserved.