I was able to start all other Workbench after install, but unable to start FEM Workbench.
Below/ attached is the screenshot.
I also tried this in Phyton Console within FreeCAD but con't figure out what is the problem.
>>> import ctypes
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\FME\python\python27\lib\ctypes\__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
My installer: FreeCAD.0.16.6706.f86a4e4-WIN-x86-installer.exe
I am new to FreeCAD. Please help.
FEM Workbench Start Error
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: FEM Workbench Start Error
I do not know where the problem is but if you would like to work with FEM workbench it is really recommended to use the latest development version 0.17.xxxx from https://github.com/FreeCAD/FreeCAD/releases. FreeCAD FEM has had dozens of bugfixes and changes since 0.16.6706
Re: FEM Workbench Start Error
Your FreeCAD installation lacks of the Python module _ctypes.pyd. You can check a newer installer if it's now added or in case you have a Python2.7 installation copy it from there.ImportError: No module named _ctypes
Re: FEM Workbench Start Error
I just downloaded the installer referenced by HP Lim and the _ctypes.pyd is there. If I rename it and start FreeCAD I get the import erro and in report view.wmayer wrote:You can check a newer installer
Code: Select all
import ctypes
File "C:\Program Files (x86)\FreeCAD 0.16\bin\lib\ctypes\__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
In HP Lim's case it looks like a system installed Python is being usedHP Lim wrote:File "C:\Program Files\FME\python\python27\lib\ctypes\__init__.py", line 10, in <module>
@HP Lim what python version is listed at the top of the python console?
"fight the good fight"