Closed FLomb closed 1 day ago
Can I just check that the env you list the dependencies of us definitely the one throwing the error? Because it seems to be calling dependencies in the "calliope_dev_07" env.
Also, pandas 1.4.3 and pyomo 6.4.3 are both impossible to install alongside v0.7.0.dev4 of calliope (minimum 2.1.3 and 6.5, respectively). Can you run conda list
in the env that you're seeing this error and report that result?
I cannot reproduce your error with the national scale example model generated in v0.7.0.dev4
and using the following env file:
```yaml name: calliope_viz channels: - conda-forge/label/calliope_dev - conda-forge - gurobi dependencies: - python=3.12 - matplotlib=3.8.2 - jupyterlab - glpk=5.0 - ipopt=3.14.9 - gurobi=11.0 - calliope=0.7.0dev4 - pandas=2.1.3 - pip - pyomo=6.7 - pip: - calligraph==0.1.1dev2 ```
Ok, thanks for checking. It is true that I pasted an environment that contained some errors - those were my attempts at fixing the issue by downgrading some libraries, such as pandas.
I have created a new env with the specific you pasted above. I also do not get the error for the example national-scale model, but I do get the error for my (still quite simple) model. And I wasn't getting the problem before.
I attach it here: model.zip
Environments in which Calligraph was previously working are not failing due to the error reported below.
For example, in this env: