-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Fatemeh identified an issue with missing dependencies for sim-tools.
Issue
I have encountered an error for running codes related to number of replications. Not sure what the problem is, it might be some interdependencies for the packages or with my environment.
Following is an snapshot of the error:
And the following is my environment:
My suggested solution
Looking at the issue, it looks like sim-tools expects matplotlib to be installed, and is complaining because it can't find it. Your environment matches the one used when building and running the code in the book, so this is probably due to operating system differences in whether they found and installed certain "hidden" dependencies like this, I would guess.
Could you try adding matplotlib to your environment and re-running? You can edit the environment.yaml file then run conda env update --file environment.yml --prune. Alternatively you can run conda install matplotlib but it is still best to record this in the YAML file so the environment is fully specified.
To do
If this does solve the issue, then I should add matplotlib as a dependency in the book's environment.yaml.
I should also check sim-tools dependencies - maybe matplotlib needs to be moved from optional to required?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status