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

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
Sign in to follow this  

  • Our picks

    • January 22nd  | Ultimaker webinar 'Learn how to choose the right composite material'
      We’ll teach you how to choose the right composite material for your application in our new 40-minute webinar. You will learn how to: 
      • Make the perfect choice between glass and carbon fiber 
      • Identify more high-value applications that would benefit from composites 
      • 3D print advanced materials with the right settings 
      • Select the best materials for 3D printing end-use parts 
      • Use dual extrusion to take composite 3D printing to the next level 
      • 0 replies
    • Does your company use Ultimaker? Know one that does? Let us know!
      If your company uses Ultimaker in any capacity, we'd love to hear about it! If the story is there, and you're up for it, maybe we can work together to create a story that will be featured on the site. Here are examples of..
      • 18 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!