When I do

import bpy

I get the following message in my console

Color management: using fallback mode for management

It happens everytime I start Python and import bpy, see the shot below enter image description here

Prior compilation I disabled Cycles, OSL, OpenColorIO, and LLVM from makefile.

However, multiple import bpy statement does not show this error/warning message multiple times. See image below.

enter image description here

Is this normal? Is there a way to get rid of it?

  • 1
    $\begingroup$ @ikel I don't think this has anything to do with importing bpy then. $\endgroup$ – gandalf3 Dec 10 '13 at 23:57

This is normal but you can make this message go away by building with OpenColorIO. Since it is the default now for color management in Blender, by not using it in your case here, Blender is falling back to an simpler set of color management rules, where float buffers are linearized sRGB buffers, and byte buffers are sRGB nonlinear buffers.

Note that imports after the first will use the cached module so they are not loading the entire Blender state every time. But this means you can't for eg, have 2+ blend files loaded from Python at once. each Python process can only operate on one blend file at a time.

  • $\begingroup$ Including OpenColorIO in makefile indeed removes the warning. $\endgroup$ – ikel Dec 11 '13 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.