When trying to run a simulation in EMPro, I receive the following error in the Log file:
Starting the FEM simulation.
Setting environment for using FEM engine
setting EMPROHOME to C:\Keysight\EMPro2015_01\win32_64\bin\
setting PYTHONHOME to C:\Keysight\EMPro2015_01\win32_64\bin\tools\win32\python
setting HPEESOF_DIR to C:\Keysight\EMPro2015_01\win32_64\bin\
Traceback (most recent call last):
File "C:\Python27\Lib\runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Python27\Lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Keysight\EMPro2015_01\win32_64\bin\empro\toolkit\engine_support\fem\state_machine\emprfem.py", line 759, in <module>
import FemEngine
File "C:\Keysight\EMPro2015_01\win32_64\bin\empro\toolkit\engine_support\fem\state_machine\FemEngine.py", line 14, in <module>
import emds
File "C:\Keysight\EMPro2015_01\win32_64\bin\empro\toolkit\engine_support\fem\state_machine\emds.py", line 10, in <module>
import socket
File "C:\Python27\Lib\socket.py", line 47, in <module>
import _socket
ImportError: DLL load failed: %1 is not a valid Win32 application.
It doesn't matter which file I use, or what the geometry looks like. I was able to run simulations previously, so something must have changed on my system. The only thing I can think of is that I recently installed Python 3, but that shouldn't interfere with my installation of Python 2.7.
So far I have tried reinstalling EMPro (64-bit) and Python 2.7 (64-bit). The problem still persists.
It is the expected behavior when PYTHONPATH has set path(s) to other Pythons in addition to the one EMpro uses. Please contact EMPro Technical Support at eesof-usa_support@keysight.com for more detailed information.