## Preface to conda install with miniforge installer
My previous instructions to install `mamba` on top of an existing conda base environment were potentially corrupting the base env because it would be mixing packages from the `defaults` and the `conda-forge` channel, my apologies!
For a clean start, I recommend to remove Anaconda Navigator by following these instructions (note the OS choice!):
https://docs.anaconda.com/free/anaconda/install/uninstall/#:~:text=Search%20for%20%E2%80%9CControl%20Panel%E2%80%9D%20in,Click%20Uninstall.
Then get a miniforge installer:
* https://github.com/conda-forge/miniforge?tab=readme-ov-file#miniforge3
* Mac folks: If you have M1/M2/M3 CPU, you need to pick the "ARM64 (Apple Silikon)" version!
Now, your base env HAS already mamba and should point to `conda-forge` as a default. Here's a way to check that:
* `conda config --show channels`
This command should list either ONLY `conda-forge`, or at least `conda-forge` at the top, indicating the preference.
Now, back to creating a new environment for every day work
* I hope this `intermezzo` has proven to you that it's worth leaving the base environment alone and always work in an extra everyday environment that you just can delete and re-install without any repercussions to your conda install.
* `mamba create -n py311 python=3.11`
* py311 is your free choice of the environment name.
* Sometimes I create an environment specifically just for one tool, then I give it the name of the tool, e.g. pytorch
* conda activate py311
* `(py311) mamba install gdal jupyterlab matplotlib pandas`
* This should get you almost everything you need to start working
* The `(py311)` shows you (in most terminals) that now the py311 environment is active, very useful!
* Now, e.g. you can start a jupyterlab server like so:
* `cd` to a folder where you will be storing jupyter notebooks, the files with your code and text
* e.g.: `cd Jupyter_notebooks`
* and then:
* `jupyter lab`
* This should open a web browser
* Now time to read Jupyter (lab) tutorials! :-)