-
Notifications
You must be signed in to change notification settings - Fork 184
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
importing wntr on google colab #342
Comments
I don't think any of us on the development team have used google colab before. WNTR can be installed using pip/conda, but I don't know how google colab installs things. It also looks like you are missing part of numpy? can you
and let me know what it says? |
Hi @s-u-m-a-n-t-h
After doing this I was able to import wntr successfully. Please let us know if that works for you also! |
Hello, I was able to update wntr successfully following your advice. However, I was still unable to run simulation as colab does not still recognize wntr when I import wntr. This seems weird. I will be glad to get any other advice on this. |
@uthmankareem |
When I try to import wntr on google colab, I get the following error:
ImportError Traceback (most recent call last)
in <cell line: 1>()
----> 1 import wntr
8 frames
/usr/local/lib/python3.9/dist-packages/wntr/sim/aml/evaluator.py in
11 # Pull in all the attributes from the low-level C/C++ module
12 if package or "." in name:
---> 13 from ._evaluator import *
14 else:
15 from _evaluator import *
ImportError: numpy.core.multiarray failed to import
Can you please help fix this ?
The text was updated successfully, but these errors were encountered: