DLR-RM / BlenderProc

A procedural Blender pipeline for photorealistic training image generation
GNU General Public License v3.0
2.84k stars 454 forks source link

Error with BlenderProc when using "Extra Mesh Objects" Addon #1155

Open corner100 opened 1 month ago

corner100 commented 1 month ago

Describe the issue

Description: After installing BlenderProc and enabling the "Extra Mesh Objects" addon in Blender 4.2.1, I received the following error:

blenderproc run blender_generate_objects.py
Using blender in C:\Users\..\blender\blender-4.2.1-windows-x64\blender-4.2.1-windows-x64
..
Blender 4.2.1 LTS ..

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Is BlenderProc incompatible with addons like the "Extra Mesh Objects" addon?

Minimal code example

import blenderproc as bproc

Files required to run the code

No response

Expected behavior

I expect to use obj = bpy.ops.mesh.addmesh..()

BlenderProc version

BlenderProc 2.8.0 with pip install blenderproc

cornerfarmer commented 1 week ago

Does the addon work in blender 4.2.1 (without blenderproc)?