You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run this command (using Python 3.10), facing an error:
python cmaesfit_iid_noise.py --model wang --repeats 50
Traceback (most recent call last):
File "model-reduction-manifold-boundaries/Parameter_inference_real_data/cmaesfit_iid_noise.py", line 8, in <module>
import myokit
File "model-reduction-manifold-boundaries/env/lib/python3.10/site-packages/myokit/__init__.py", line 561, in <module>
from ._sim import ( # noqa
File "model-reduction-manifold-boundaries/env/lib/python3.10/site-packages/myokit/_sim/__init__.py", line 44, in <module>
import myokit.pype as pype # noqa
File "model-reduction-manifold-boundaries/env/lib/python3.10/site-packages/myokit/pype.py", line 12, in <module>
import parser
ModuleNotFoundError: No module named 'parser'
It seems the older versions of myokit uses "parser" which has been deprecated in the latest versions of Python (>3.7).
Updated myokit to the latest version (1.35.4) and the problem solved.
Might be fixed as well by resolving issue #2 and using the latest versions of the packages in the requirements.txt file.
Meanwhile, it could be temporarily treated by mentioning the Python version matches the old requirements.txt.
The text was updated successfully, but these errors were encountered:
When trying to run this command (using Python 3.10), facing an error:
python cmaesfit_iid_noise.py --model wang --repeats 50
It seems the older versions of myokit uses "parser" which has been deprecated in the latest versions of Python (>3.7).
Updated myokit to the latest version (1.35.4) and the problem solved.
Might be fixed as well by resolving issue #2 and using the latest versions of the packages in the requirements.txt file.
Meanwhile, it could be temporarily treated by mentioning the Python version matches the old requirements.txt.
The text was updated successfully, but these errors were encountered: