Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  
conz

Conflict in Python with FreeCAD and Cura

Recommended Posts

Hi,

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
n_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Program Files (x86)\Cura_14.03\python\lib\runpy.py", line 72, in _run
_code
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)

http://www.freecadweb.org/

EDIT:

The thread in the FreeCAD forum:

http://forum.freecadweb.org/viewtopic.php?f=4&t=6254

---

Win7 64bit

Ultimaker 2

 

Share this post


Link to post
Share on other sites

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:

http://forum.freecadweb.org/viewtopic.php?f=4&t=6254&e=0#p50129

 

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

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

    • Taking Advantage of DfAM
      This is a statement that’s often made about AM/3DP. I'll focus on the way DfAM can take advantage of some of the unique capabilities that AM and 3DP have to offer. I personally think that the use of AM/3DP for light-weighting is one of it’s most exciting possibilities and one that could play a key part in the sustainability of design and manufacturing in the future.
        • Like
      • 3 replies
×

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!