There have been cases where Anaconda can conflict and mess with the Operating System installed libraries, which can confuse why some things are breaking. Following the instructions to set up the development environment will prevent such a thing.
It doesn't matter which one you choose, Anaconda has a lot of packages at once (and is large) while Miniconda allows you to pick and choose (so it's small at first).
We just need Python and its dependencies, so Miniconda
will suffice. If you have Anaconda already or prefer Anaconda, that's fine too.
If you have Anaconda already, you can skip to the Setup
instructions in the README, but feel free to follow the steps below as appropriate to help you avoid Conda and System conflicts.
Get the executables here: https://conda.io/projects/conda/en/latest/user-guide/install/
Follow the Regular Installation
instructions alongside the below instructions
- There are no options given during installation. Follow and complete it all normally.
- Disable automatic
base
environment activation withconda config --set auto_activate_base false
. You can activate the base environment if you so choose manually anytime usingconda activate
.- If next time you open a terminal and it will show
(base)
. That is the conda base environment. This step disables that from starting (and is recommended).
- If next time you open a terminal and it will show
- Open a fresh new terminal and type
conda
. If "help" stuff pops up, that meansconda
is ready for you.
The official terminal standard chosen for hknweb
is Git Bash
, so all instructions follow that. We officially won't write instructions for other terminals.
- We ask you to keep the default directory for the install (Generally:
C:\Users\<USERNAME>\[miniconda3|Anaconda3]
). If you choose to install it somewhere else, please note where this folder is. - We HIGHLY RECOMMEND in
Advanced Options
to leave ALL checkboxes blank (PATH and default Python). This will keep all things conda inside conda, and won't mix or conflict with your system installs. - On the finish install page, unless you want to see the documentation and tutorial offered, uncheck the two boxes and click "Finish"
- Open the
Git Bash
terminal - Substitute and Run:
echo 'export PATH=$PATH:/c/Users/<USERNAME>/[miniconda3|Anaconda3]/Scripts/' >> ~/.bashrc
, where you substitute the current Windows user's Username folder in theUsers
folder AND choose whether you installedminiconda
orAnaconda
. For example, if you installed miniconda and your username is "oski", it would be something like this:echo 'export PATH=$PATH:/c/Users/oski/miniconda3/Scripts/' >> ~/.bashrc
- If you installed "conda" somewhere else, replace the drive name (like "D:") and lowercase it with a forward slash at the beginning (Example: "/d"). Then add
/Scripts/
at the end of it. For example, if you installed inD:\Programs\Anaconda3
, you would useecho 'export PATH=$PATH:/d/Programs/Anaconda3/Scripts/' >> ~/.bashrc
- If you installed "conda" somewhere else, replace the drive name (like "D:") and lowercase it with a forward slash at the beginning (Example: "/d"). Then add
- Open a fresh new
Git Bash
terminal - Run
conda init bash
- If you ever see
(base)
next time you open Git Bash, that is the conda base environment. Disable future automaticbase
environment activation withconda config --set auto_activate_base false
. You can activate the base environment if you so choose manually anytime usingconda activate
. - Open a fresh new
Git Bash
terminal and typeconda
. If "help" stuff pops up, that meansconda
is ready for you.