dynamicslab / pysindy

A package for the sparse identification of nonlinear dynamical systems from data
https://pysindy.readthedocs.io/en/latest/
Other
1.36k stars 304 forks source link

[BUG] cannot import name 'enzyme' #486

Closed heidong closed 3 months ago

heidong commented 3 months ago

Reproducing code example:

import pysindy
<< your code here >>import pysindy as ps
from pysindy.utils import enzyme
from pysindy.utils import lorenz
from pysindy.utils import lorenz_control

Error message:

ImportError Traceback (most recent call last)

in 12 13 import pysindy as ps ---> 14 from pysindy.utils import enzyme 15 from pysindy.utils import lorenz 16 from pysindy.utils import lorenz_control ImportError: cannot import name 'enzyme' I get an error when I run this example the example is : pysindy-master/examples/1_feature_overview/example.ipynb ### PySINDy/Python version information: pysindy 1.3.0 python 3.6.7 |Anaconda
Jacob-Stevens-Haas commented 3 months ago

Upgrade your pysindy version; enzyme appears in 1.5.0