No module named _CommandFemMesh2Mesh

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

No module named _CommandFemMesh2Mesh

Post by makkemal »

I get the following error opening the FEM workbench in the latest master ?

Code: Select all

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10425 (Git)
Build type: Release
Branch: master
Hash: db66835c6361f236a68ede8db9386e86e10bc776
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
wmayer
Founder
Posts: 20327
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: No module named _CommandFemMesh2Mesh

Post by wmayer »

I got this on Windows too and the problem is because the file was renamed from _CommandFEMMesh2Mesh to _CommandFemMesh2Mesh but somehow the cmake cache doesn't care about upper/lower case.

To fix this tmp. rename the file _CommandFemMesh2Mesh (e.g. _CommandFemMesh2Mesh2) and adjust the cmake file. Now run cmake Configure & Generate. Undo your changes and rerun cmake. Now the cache should be updated.
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: No module named _CommandFemMesh2Mesh

Post by makkemal »

@wmayer
Thanks for pointing out
It is working fine now
Post Reply