dalmo1991 / superflexpy Goto Github PK
View Code? Open in Web Editor NEWSuperflexPy: The flexible language of hydrological modelling
Home Page: https://superflexpy.readthedocs.io
License: GNU Lesser General Public License v3.0
SuperflexPy: The flexible language of hydrological modelling
Home Page: https://superflexpy.readthedocs.io
License: GNU Lesser General Public License v3.0
When I using pip to install this package, the error raised:
Collecting superflexpy
Using cached superflexpy-1.3.1.tar.gz (28 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
error in superflexpy setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; .* suffix can only be used with `==` or `!=` operators
numpy>=1.19.*
~~~~~~~^
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
While trying to run this command in google colab: !pip install superflexpy
Getting this error:
Collecting superflexpy
Using cached superflexpy-1.3.1.tar.gz (28 kB)
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The setup script requires very specific versions for these two libraries. Is that necessary? I'm asking because this definition requires a downgrade of both libraries on my system, with are then incompatible with other libraries that need the newer versions.
Can you change https://github.com/dalmo1991/superflexPy/blob/f7b8c4360f14926029736e2be758c08498f45038/setup.py#L20C5-L20C57
to install_requires=["numba>=0.57.1", "numpy>=1.24.3"],
?
Dear superflexPy developers,
The package you developed looks really interesting!
I tried to run the examples, but am missing a function.
With my local superflexPy installation ...
ImportError: cannot import name 'FastReservoir' from 'superflexpy.implementation.elements.hbv' (C:\Users\Usuario\AppData\Roaming\Python\Python37\site-packages\superflexpy\implementation\elements\hbv.py)
... and also when using the Notebook
ImportError: cannot import name 'FastReservoir' from 'superflexpy.implementation.elements.hbv' (/srv/conda/envs/notebook/lib/python3.7/site-packages/superflexpy/implementation/elements/hbv.py)
Thanks.
Hi there,
I found superflexPy you bulit is very easy to use, however, I found a issue that when I tried to run the gr4j model, this error message showed:
[ValueError: module : superflexPy, solver : PegasusPython, Error message : fa and fb have the same sign: -0.04886536502251221 vs -0.09954819146324694]()
when I run:
output = model.get_output(solve=True)
I set the parameters by:
rng = np.random
# Generate the parameters randomly
parameters = rng.rand(4)
# Construct the dictionary for the set_parameters method
parameters_to_set = {
'model_ps_x1': parameters[0],
'model_ps_alpha': parameters[1],
'model_ps_beta': parameters[2],
'model_ps_ni': parameters[3],
}
is this because the parameters of the model are wrong?
many thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.