Closed marek-iiasa closed 3 years ago
Thank you @marek-iiasa!
It then seems that the sequence of steps that I posted (based on testing efforts from @awais307) is a quite robust way to install message-ix
from conda
-it also worked with other participants in Slack.
We'll account for that and improve the documentation where needed.
Thank you for this summary! Since PR #501 got merged and handling Jupyter Notebooks is covered in the Prerequisite knowledge & skills, I'm closing this issue.
I summarize the message-ix installation on macOS Big Sur version 11.4 based on (to a large extend overlapping) comments by Francesco and Oliver.
I skipped Oliver's steps 1 through 4 (didn't want to risk loosing the stuff in another, earlier created, env; I also wanted to avoid GAMS reinstallation). Based on further comments of Oliver I didn't define JAVA_HOME, and have hidden the JDK.
Therefore, the only preparation I found necessary: GAMS properly installed and included in $PATH.
Here are the steps of my installation:
Thus, Oliver's and mine environments appear to be the same (except of versions of pyam and macOS).
I run without problems both the coffee-machine and westeros_baseline notebooks. BTW: initial run resulted in errors; then I figured out that one should restart the kernel & clean output at starting the already run *.ipynb. The latter might be a useful tip for less experienced in jupyter, like myself.
Summing-up the message-ix installation prerequisites: it appears that neither definition of JAVA_HOME nor installation of JDK are needed; whether or not one of them caused problems with my earlier installations remains unclear.
I do hope that the above summary can help in improving the installation instructions, and maybe also in answering future questions about the installation.