Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install instructions #54

Closed
4 tasks done
ocefpaf opened this issue Dec 1, 2021 · 5 comments · Fixed by #57 or #90
Closed
4 tasks done

Update install instructions #54

ocefpaf opened this issue Dec 1, 2021 · 5 comments · Fixed by #57 or #90
Assignees
Labels
JupyterBook Issues related to JupyterBook

Comments

@ocefpaf
Copy link
Member

ocefpaf commented Dec 1, 2021

I'm going through the installation process again with @kbailey-noaa and we identified a few points to improve and/or fix:

  • We really need a redirect on all notebook_demos page! Just got bamboozled by that myself when googling for the installation;
  • Use Miniforge instead of Miniconda: https://github.com/conda-forge/miniforge/releases/tag/4.10.3-10 b/c that will simplify the channel configuration part and it will be on the safe side of the Anaconda Terms of conditions;
  • Make sure curl is installed on Windows/base env so we can simplify all the instructions to copy-n-paste code from the site;
  • Add a "remove-all-and-reinstall" note when facing update problems.
@ocefpaf ocefpaf self-assigned this Dec 1, 2021
@MathewBiddle
Copy link
Contributor

Also the instructions for removing the environment are:

conda env remove -name IOOS

when it should be

conda env remove --name IOOS

Thanks @dpsnowden for catching that one.

@MathewBiddle MathewBiddle added the JupyterBook Issues related to JupyterBook label Dec 1, 2021
@MathewBiddle
Copy link
Contributor

can we add an "if all else fails install from the lock file" section too?

@dpsnowden
Copy link

@MathewBiddle and @ocefpaf I just stumbled across this error in installing mamba forge and creating the environment. I was copy/pasting from the Create the IOOS conda environment

(base) ~ % mamba env create --quiet --file environment.yml


Encountered problems while solving:
  - nothing provides requested nco
  - nothing provides requested phantomjs

I found this issue on the mamba forge repo and it seems to have gone unaddressed. mamba-org/mamba#1145

For now I just deleted those two lines from the environment.yml file and it worked. Mamba was able to create the environment and I was able to activate these.

@dpsnowden dpsnowden reopened this Apr 26, 2022
@ocefpaf
Copy link
Member Author

ocefpaf commented Apr 27, 2022

Can you provide the results of mamba info and cat ~/.condarc?

@ocefpaf
Copy link
Member Author

ocefpaf commented Mar 31, 2023

We revamped the install instructions a few times after this issue was opened. We can close this one and, if new issues show up, open a new one instead.

@ocefpaf ocefpaf closed this as completed Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JupyterBook Issues related to JupyterBook
Projects
None yet
3 participants