Closed Paul-Robineau closed 8 months ago
Hi @Paul-Robineau , conda installs are fetching versions from the last commit, meaning it's not guaranteed to fetch a code that works.
To get a working version, you should install from pip (pip install premise==1.8.2dev7
).
Or if you really only can work with conda, you can fetch it from confa-forge: conda install conda-forge::premise
Hi @romainsacchi , I guessed that would be the explanation, but I did not see this issue being raised so I thought I should document the error (even though you might have already encountered it already through dev testing) :)
I created a VM with only miniconda (python 3.11.5), jupyterlab and premise 1.8.2dev7 (through pip) and I still encounter a problem, now regarding the IAM locations, a bit like described by @Michael-ljn (but I did not installed any brightway 2 or 2.5 component myself apart from what might be installed with premise). Should I create a dedicated issue for clarity?
Thank you for the work!
Hi @romainsacchi , I guessed that would be the explanation, but I did not see this issue being raised so I thought I should document the error (even though you might have already encountered it already through dev testing) :)
I created a VM with only miniconda (python 3.11.5), jupyterlab and premise 1.8.2dev7 (through pip) and I still encounter a problem, now regarding the IAM locations, a bit like described by @Michael-ljn (but I did not installed any brightway 2 or 2.5 component myself apart from what might be installed with premise). Should I create a dedicated issue for clarity?
Thank you for the work!
Nevermind, I restarted the VM and that problem disappeared!
Hello there,
I am using premise 2023.12.29 py_0 romainsacchi (from
conda list
) through a jupyter notebook. Everything seems to be working fine when I do (cells fusionned for example):But then
ndb.update_all()
never works.First it prints:
Then I have an error message regarding the
update_metals()
sub-function, linked to the absence of the premise/data/metals/activities_mapping.xlsx file. I looked for the premise/data/metals folder (which is not present in the github repo), and I indeed do not have this file, but activities_mapping.yml instead.Trying to use
ndb.generate_scenario_report()
orndb.generate_change_report()
after that immediatly leads to kernel crashing.Full error message below: