Update README.md with conda forge instructions.

This commit is contained in:
2025-06-29 08:47:29 +02:00
parent 978101f9c2
commit 1d2f311b1f

View File

@ -60,8 +60,11 @@ We recommend using Miniforge to manage your conda environments. Miniforge ensure
1. Make sure you have installed **Miniforge**.
2. Create the Environment from `environment.yml`
After installing Miniforge, open **Miniforge Prompt** or a terminal with access to conda and run:
2. Open **Miniforge Prompt**
> ⚠️ Ensure your Conda base environment is from Miniforge (not Anaconda). Run `conda info` and check for `miniforge` in the base path and `conda-forge` as the default channel.
3. Create the Environment from `environment.yml`. Inside the **Miniforge Prompt** or a terminal with access to conda and run:
```bash
cd path/to/Gitea/dima
conda env create --file environment.yml
@ -70,6 +73,16 @@ After installing Miniforge, open **Miniforge Prompt** or a terminal with access
```bash
conda activate dima_env
```
4. Remove the `defaults` channel (if present):
```bash
conda config --remove channels defaults
```
5. Add `conda-forge` as the highest-priority channel:
```bash
conda config --add channels conda-forge
conda config --set channel_priority strict
```
### Working with Jupyter Notebooks
We now make the previously installed Python environment `dima_env` selectable as a kernel in Jupyter's interface.