-
Notifications
You must be signed in to change notification settings - Fork 21
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
Numba installs fail on _some_ systems, but not all #119
Comments
Hi @kelsonengineering, that sounds annoying. My first guess would be to attempt to install an older verison of numpy. Perhaps you could try But to really answer your question, we'd need a bit more information about the systems the installation is failing on (which OS, and python+package versions). If you're able, could you post some of that information here and we can take a look. |
If you could give Python, numpy and numba versions, we will investigate. |
Hi Mark! I've solved the issue. We're using JupyterLab Desktop, which is a pretty good "batteries included" UI for JupyterLab. It has an environment manager, which wants to utilize After a lot of fiddling around, it appears that conda pins timml to numpy-2.0.2+, and for some systems there isn't a comptible conda package for numba. Warning - off topic, but not ready to post yet... Has anyone ever implemented a "river" type line sink in timml? I've reviewed the solver code and it doesn't look too hard. It's really common in the midwest to have percolating rivers and I need them for the term project. If it isn't done already, I'll hack it together and send a PR. If I find time, I might even add the streamflow routing code like ModAEM and GFLOW. Also, I made a tiny change to my local timml, and it runs Thanks! |
Hey Vic, Thanks for solving this problem. What exactly is the solution when using Jupyter Desktop? Does it only work after you create a virtual environment with Interesting that you use JupyterDesktop for the students. I have thought about that, as it has many advantages. Any downsides? Regarding your off-topic question of a river element. We would definitely welcome a PR for that. How do you want to solve the nonlinear system? I am not sure I understand the last suggestion. You write a TimML model and it automatically runs ruff/black? Another option would be to install a Jupyter plugin for that, or are those not available on JupyterDesktop? Good to hear from you and thanks for the contributions! |
I'm using timml in a Jupyterlab notebook for my modeling course. Several students have the conda install fail because there is no compatible version of numba. Can anyone offer a suggestion as to how I can correct this?
Thank you!
The text was updated successfully, but these errors were encountered: