Hi Yuanfeng,
welcome to the Forum.
Two things ahead of time:
-
As note above, please send us an output of
conda list
,pip freeze
so that we can see if all required packages are installed in the correct python environment. -
Based on this line
File E:\conda\Lib\site-packages\CADETProcess\simulator\cadetAdapter.py:101 in __init__
in the traceback it looks like you are currently not using environments for your python library. We highly recommend doing so and have written a guide on the topic.
With that said, if CADET-Core is found by CADET-Python, then you can check the .cadet_path
property from CADET-Python to see where it found CADET-Core and give that to CADET-Process in the Cadet(install_path=xxx)
call.
So after importing Cadet
from CADET-Python please run
cadet = Cadet()
print(cadet.cadet_path)
and please also share that info with us. It would be valuable to learn why we get multiple reports of CADET-Process not detecting the CADET-Core installation.