yunshengtian / AutoOED

AutoOED: Automated Optimal Experimental Design Platform
https://autooed.org
139 stars 18 forks source link

Python version not compatible with matlabengine #18

Open timon-meier opened 10 months ago

timon-meier commented 10 months ago

Hello, It appears that you are utilizing Python version 3.7.7 as specified in [environment.yml], which seems to be no longer compatible with the Matlab Engine of newer versions. As a result, optimization using Matlab scripts (e.g. the simulation example) is not possible.

yunshengtian commented 10 months ago

Thank you @timon-meier . Yes this project was developed a while ago, but this also works with higher versions of python (I tried 3.8 at least).

Though there is a small detail needs to be taken care of - one of our dependencies pygco is sensitive to the python version and if the codebase does not work with higher versions of python on your end, try to comment out "ParetoDiscovery" related imports (see mobo/solver/pareto_discovery)