MPh icon indicating copy to clipboard operation
MPh copied to clipboard

Calling `mph.start()` crashes Python session

Open Alexander-Hoppe opened this issue 7 months ago • 8 comments

Setup

Windows 10 10.0.19045 Build 19045

conda create -n mphtest

conda activate mphtest

pip install MPh

Running without installed COMSOL

(mphtest) D:\\mydir\\> python

>>> import mph

>>> mph.start()

Results in RuntimeError: Could not locate any Comsol installation

Running with fresh Comsol 6.0 installation

Fresh install of COMSOL 6.0

(mphtest) D:\\mydir\\> python

>>> import mph

>>> mph.start()

Windows hourglass symbol next to pointer shows up after 1 to 2 seconds, then python has exited without error and I am back in the shell

(mphtest) D:\\mydir\\>

Question

COMSOL GUI runs fine.

How can I debug this?

Alexander-Hoppe avatar Nov 07 '23 09:11 Alexander-Hoppe