我是python编程的初学者。我正在尝试使用ratcave和PyWavefront来创建obj导入器。
当我刚刚编写这段代码时,错误显示为
AttributeError:“scipy.spatial.transform.rotation.Rotation”对象没有特性“”as_dcm“”
我能做什么?
import pyglet
import ratcave as rc
# Create Window
window = pyglet.window.Window()
pyglet.app.run()发布于 2021-01-12 16:25:59
方法名称似乎已更改为from_matrix。
在scipy.spatial.Rotation方法中,from_dcm、as_dcm分别重命名为from_matrix、as_matrix。
我希望这个问题得到解决。
https://stackoverflow.com/questions/65628149
复制相似问题