Jump to content
Sign in to follow this  

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


Share this post

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.


Share this post

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.



Share this post

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.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!