I'm using bpy python module in Ubuntu 20.04, I try to render picture using engine='BLENDER_EEVEE'
engine as shown below.
bpy.context.scene.render.engine = 'BLENDER_EEVEE'
#bpy.context.space_data.params.filename = "test4.png"
bpy.context.scene.render.filepath = self.img_body
bpy.context.scene.render.image_settings.file_format = 'PNG'
bpy.ops.render.render(write_still=True)
Then I got the following error
Unable to find 'wl_proxy_marshal_flags' in 'libwayland-client.so.0'.
However, when I set engine='CYCLES'
, it worked fine, but it took too much time.
I searched for a long time but didn't find a proper answer to fix this problem.