Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Failed to install blender-qt3d-export to Blender 2.80. Error: ImportError: cannot import name 'orientation_helper_factory' from 'bpy_extras.io_utils'



  • Hi,

    I try to install blender-qt3d-export to Blender 2.80 from here: https://github.com/KDAB/qt3d-examples I made all like in README.txt

    But when I try to active this plugin I get this error: ImportError: cannot import name 'orientation_helper_factory' from 'bpy_extras.io_utils'

    Full log:

    Read prefs: C:\Users\8Observer8\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
    found bundled python: E:\Program Files (x86)\Blender Foundation\Blender\2.80\python
    register_class(...):
    Warning: 'My_Panel' doesn't contain '_PT_' with prefix & suffix
    register_class(...):
    Warning: 'Test_PT_Panel' doesn't have upper case alpha-numeric prefix
    register_class(...):
    Warning: 'Button_PT_Panel' doesn't have upper case alpha-numeric prefix
    addon_utils.disable: blender-qt3d-export not disabled
    Modules Installed (blender-qt3d-export) from 'E:\\_Projects\\Examples\\FromSource\\Qt\\QML + C++\\qt3d-examples-master\\blender-qt3d-export.zip' into 'C:\\Users\\8Observer8\\AppData\\Roaming\\Blender Foundation\\Blender\\2.80\\scripts\\addons'
    Traceback (most recent call last):
      File "E:\Program Files (x86)\Blender Foundation\Blender\2.80\scripts\modules\addon_utils.py", line 351, in enable
        mod = __import__(module_name)
      File "C:\Users\8Observer8\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\blender-qt3d-export\__init__.py", line 40, in <module>
        from bpy_extras.io_utils import ExportHelper, orientation_helper_factory, axis_conversion
    ImportError: cannot import name 'orientation_helper_factory' from 'bpy_extras.io_utils' (E:\Program Files (x86)\Blender Foundation\Blender\2.80\scripts\modules\bpy_extras\io_utils.py)
    

  • Lifetime Qt Champion

    Hi
    It seems to come from scripts for 2.7 used in 2.8.
    So you have to fix the script to make it run again.


Log in to reply