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
I am trying to run the example notebook_estimations and its falling over once I call
from activitysim.estimation.larch import component_model
This is the error "
#from activitysim.estimation.larch import component_model
----> 2 from activitysim.estimation.larch import component_model
3 model, data = component_model(modelname, return_data=True)
File c:\Users\ahernz.local\share\mamba\envs\asim_m\lib\site-packages\activitysim\estimation\larch_init_.py:6
3 except ImportError:
4 larch = None
----> 6 from .cdap import *
7 from .data_maker import *
8 from .general import *
The current version of ActivitySim (v1.4) is not compatible with the latest version of larch... you need to use Larch v5 with ActivitySim. We expect to make the next release of ActivitySim shortly. This should include #917, which will update ActivitySim to work with Larch v6.
Activity
jpn-- commentedon Aug 4, 2025
Thanks for the report!
The current version of ActivitySim (v1.4) is not compatible with the latest version of larch... you need to use Larch v5 with ActivitySim. We expect to make the next release of ActivitySim shortly. This should include #917, which will update ActivitySim to work with Larch v6.