Hi everyone,
I’m running Cantera 3.1.0 installed via Miniforge3. After activating the environment, I can import cantera from Python/IPython just fine, but I can’t import it from Spyder anymore—I get “DLL load failed while importing _cantera.”
Spyder is configured to use the Python interpreter from the same conda environment, and I can import other packages from that environment without issues. This started recently. Previously I was on the Anaconda distribution with Cantera 3.0 and began seeing the same import error there, so I switched to Miniforge and Cantera 3.1.0, but the problem persists.
One detail: I prepare my environments on an external PC and then deploy them to an intranet PC. Everything works on the external PC; the issue only appears on the intranet machine. I’m wondering if another software install, PATH change, or a conda/VC++ runtime difference might be causing this.
Has anyone run into this with Spyder + Cantera? Any pointers on likely causes (e.g., missing Microsoft VC++ runtimes, conflicting DLLs on PATH, mismatched conda-forge packages, or Spyder kernel path issues) would be appreciated. Thanks!