An openEMS installed in another Python environment (the GUI's Solvers and
hardware window, or setup.sh): the site setting openems_venv (sitecfg: a venv
folder, or its python) puts that environment's site-packages at the end of
sys.path, so CSXCAD and openEMS come from there and everything else from
kicad2ems's own environment. Their compiled modules load only in the same Python
version (3.13's do not in 3.14). A Windows environment (Scripts\python.exe,
Lib\site-packages) names its version in pyvenv.cfg, or its python3XX.dll.
On Windows the openEMS and CSXCAD DLLs come from a folder named by the
openems_dir setting (the unpacked openEMS release; its bin folder too where it
has one) or OPENEMS_INSTALL_PATH / CSXCAD_INSTALL_PATH: dll_dirs() adds them to
the DLL search (os.add_dll_directory), which is what LD_LIBRARY_PATH is on
Linux.
venv.activate() -> None, or why the setting could not be used (a note for
the check)
venv.dll_dirs() -> [folders added to Windows' DLL search]