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

mambaforge installation & troubleshooting #5

Open
jenniferagraham opened this issue Jun 15, 2021 · 0 comments
Open

mambaforge installation & troubleshooting #5

jenniferagraham opened this issue Jun 15, 2021 · 0 comments

Comments

@jenniferagraham
Copy link

Troubleshooting

Following points were raised around installation:

conda-forge not set as priority channel

To fix this, e.g.:

conda config --add channels conda-forge
conda config --remove channels github.com/python-pillow/Pillow

NB. Replace pillow with whatever other channel is set.

Error when trying to install environment?

If using the mambaforge prompt, do not type bash.

  • This allows for use of the linux subsystem (associated CLI). However, this breaks the conda installation.
    • This appears as a "ConnectionRefusedError"

Instructions for reference

  • Download the windows version of miniforge3 (with or without mamba installed in the base environment):
  • Run the executable
    • Select “run anyway” when prompted for security issues.
    • If in doubt about any options, select all default/recommended choices when working through the install.
    • After finished, open the chosen prompt from your start menu (under Miniforge3)
  • Change directory to the course materials: e.g.
cd C:\Users\JG10\OneDrive - CEFAS\python\Training2021\pythoncourse2021-materials
* If you don't have them already, you can download from here: https://github.com/ueapy/pythoncourse2021-materials
  • The necessary modules/packages are all listed in the environment.yml files, so we create the environment from there, using the following command:
conda env create -f environment.yml
  • If you're using mamba rather than miniforge, use the following command instead:
mamba env create -f environment.yml
  • Once all installed, activate the environment:
conda activate course2021
  • Open the course materials:
jupyter notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant