ceremcem / build-freecad-asm3

Build FreeCAD Asm3 inside a Debian container and run from there.
6 stars 0 forks source link

Error "No module named yaml" thrown in FEM module #6

Closed ceremcem closed 5 years ago

ceremcem commented 5 years ago
Traceback (most recent call last):
  File "/opt/FreeCAD/Mod/Fem/femguiobjects/_ViewProviderFemMaterial.py", line 261, in accept
    if checkunits(self.material) is True:
  File "/opt/FreeCAD/Mod/Material/materialtools/cardutils.py", line 609, in check_mat_units
    known_quantities = get_known_material_quantity_parameter()
  File "/opt/FreeCAD/Mod/Material/materialtools/cardutils.py", line 330, in get_known_material_quantity_parameter
    template_data = get_material_template()
  File "/opt/FreeCAD/Mod/Material/materialtools/cardutils.py", line 224, in get_material_template
    import yaml
<type 'exceptions.ImportError'>: No module named yaml
Custom material directory set by user:  does not exist.
Running the Python command 'FEM_MaterialEditor' failed:
Traceback (most recent call last):
  File "/opt/FreeCAD/Mod/Fem/femcommands/commands.py", line 573, in Activated
    FreeCADGui.doCommand("MaterialEditor.openEditor()")
  File "<string>", line 1, in <module>
  File "/opt/FreeCAD/Mod/Material/MaterialEditor.py", line 666, in openEditor
    editor = MaterialEditor(obj, prop)
  File "/opt/FreeCAD/Mod/Material/MaterialEditor.py", line 103, in __init__
    self.implementModel()
  File "/opt/FreeCAD/Mod/Material/MaterialEditor.py", line 139, in implementModel
    template_data = get_material_template(True)
  File "/opt/FreeCAD/Mod/Material/materialtools/cardutils.py", line 224, in get_material_template
    import yaml

No module named yaml