Jump to content
Ultimaker Community of 3D Printing Experts

Conflict in Python with FreeCAD and Cura


Recommended Posts

Posted · Conflict in Python with FreeCAD and Cura


after installing latest developer version of Freecad (0.14), cura crashes at start.

Is this a problem in cura or in FreeCAD?

I get following python error.


C:\Program Files (x86)\Cura_14.03>.\cura.bat
Traceback (most recent call last):
File "C:\Program Files (x86)\Cura_14.03\python\lib\runpy.py", line 162, in _ru
"__main__", fname, loader, pkg_name)
File "C:\Program Files (x86)\Cura_14.03\python\lib\runpy.py", line 72, in _run
exec code in run_globals
File "C:\Program Files (x86)\Cura_14.03\Cura\cura.py", line 13, in <module>
from Cura.util import profile
File "Cura\util\profile.py", line 22, in <module>
import numpy
File "C:\Program Files (x86)\FreeCAD 0.14\bin\numpy\__init__.py", line 168, in <module>
from . import add_newdocs
File "C:\Program Files (x86)\FreeCAD 0.14\bin\numpy\add_newdocs.py", line 13,in <module>
from numpy.lib import add_newdoc
File "C:\Program Files (x86)\FreeCAD 0.14\bin\numpy\lib\__init__.py", line 8,in <module>
from .type_check import *
File "C:\Program Files (x86)\FreeCAD 0.14\bin\numpy\lib\type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "C:\Program Files (x86)\FreeCAD 0.14\bin\numpy\core\__init__.py", line 6, in <module>
from . import multiarray
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.

After uninstalling FreeCAD, cura is working again.

I have reported the problem in the freeCAD forum, too. (waiting for moderation)



The thread in the FreeCAD forum:



Win7 64bit

Ultimaker 2


  • Link to post
    Share on other sites

    Posted · Conflict in Python with FreeCAD and Cura

    After installing freecad, can you do a "start->run->"cmd" in the big black screen run "SET", and report back all the output. Looks like freecad might be setting a global environment variable that's messing up Cura.


  • Link to post
    Share on other sites

    Posted · Conflict in Python with FreeCAD and Cura

    Hi Daid,

    my PC is busy right now (have to render a project). I'll reinstall FreeCAD a little bit later and check the "SET".

    Maybe you could take a look at the FreeCAD Forum, there is a reply by some developer of FreeCAD:



    Question: Does cura have its own version of numpy? Because it seems that somewhere inside cura numpy gets imported which then finds that version of the FreeCAD installation.But then a numpy module can't be loaded because a certain DLL is missing. So from this point of view it must be an installer problem because it lacks of one or more files. But the problem is not that we set this path in the registry.

    The path is written in the registry under HKLM\Software\Python\PythonCore\2.6\PythonPath\FreeCAD 0.14.



  • Link to post
    Share on other sites

    Posted · Conflict in Python with FreeCAD and Cura

    @Daid, thank you for your posting in the FreeCAD-Forum.

    My rendering is not finished, yet. :(

    Will test your path check ("SET") tomorrow.


  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Our picks

      • The Ultimaker Showcase — October 14. What's new?
        Your dear friends at Ultimaker have some exciting news and insights for you!
        • 0 replies
      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 8 replies
    • Create New...