-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error message when running model.SSA() and model.multiagent() #100
Comments
My configuration is:
did you try and it can be enabled through: |
Today I tried several configurations in separate conda environments including python 3.5 and 3.6 versions. I also tried using exactly the package versions mentioned in the above comment. I did not receive the error message anymore but now widgets are not displayed at all, "Failed to display Jupyter Widget of type FloatSlider. However, I did use the command: So, unfortunately I'm still not able to run ssa and multiagent functions. Either it is a subtle package dependency that I haven't discovered yet or maybe something else. If someone has an idea, that would be helpful! |
Update: I could now create a conda environment that works! If you want to use the same environment configuration here are the instructions (type in terminal):
This should hopefully work. To use Jupyter notebook in this environment: start Jupyter notebook as usual: if you are finished you can deactivate it with: FYI: If you don't activate this environment you will use your standard python configuration. So, if you create the environment as outlined above you do not modify your standard configuration, which is always available. Of course, you can choose a different environment name. |
Great work Thomas - I think it should be possible to export this environment file from conda - this could be useful as it could be committed to the repository. Thoughts, @willfurnass ? |
Just committed the environment.yml file so that you can easily create the conda environment from file. See commit d15cf4b for details. |
My preference would be to
although having a common Re how conda upgrades/downgrades packages: have people specified channel priorities in their |
Will, I think you're best placed to update |
Could switch to using setup.py to define essential requirements (except LaTeX and graphviz) and we'd then have a single env for testing and deployment (local, Travis, Binder). Requires that #158 be resolved. |
Addressed by #210 |
AttributeError: 'Dropdown' object has no attribute 'layout'
I tried to update ipywidgets in the conda environment I'm using on my local machine but this caused updates of other packages as well due to dependencies which then disabled all widgets in the notebook. I downgraded to my previous version of ipywidgets again.
Currently I'm using ipywidgets=4.1.1 and notebook=4.1.0 package versions.
We should find a configuration that works for everyone.
The text was updated successfully, but these errors were encountered: