You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Francesco in #480:
conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda create --name message_env
conda activate message_env
conda install message-ix
---
Oliver in #482:
I did the install this morning on macOS:
step1. I deleted Anaconda and GAMS.
step2. rebooted machine.
step3. installed GAMS 35.2 (including ticking the box to add to PATH)
step4. installed anaconda3-2021.05
step5. installed messageix via anaconda following each step of the instructions with the addition of setting channel priority to strict.
step5. downloaded tutorials
step6. started jupyter notebook from the command-line ensuring environment 'message_env' is active.
---
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.
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.
The text was updated successfully, but these errors were encountered:
marek-iiasa
changed the title
Summary of the finally successful message-ix install on macOS
Summary of the successful message-ix installation on macOS Big Sur ver. 11.4
Jun 12, 2021
marek-iiasa
changed the title
Summary of the successful message-ix installation on macOS Big Sur ver. 11.4
Summary of the successful message-ix installation on macOS
Jun 12, 2021
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.
The text was updated successfully, but these errors were encountered: