Anaconda (Python)
Anaconda is een Python-distributie, inclusief de Python-interpreter en de command-line packet manager Conda.
Anaconda komt in twee smaken:
- Miniconda: Interpreter + Conda
- Anaconda: Interpreter + Conda + gebruikelijke packages/bibliotheken.
Installatie
Het is geen probleem als Python al geïnstalleerd is op een systeem. Sterker nog: Dat zal vrijwel altijd het geval zijn (in ieder geval op Linux). Ik kies Anaconda en niet Miniconda:
- Download het Bash-script hiero: https://www.anaconda.com/products/individual, bv. naar het buroblad
- Executeer dit script
- Beantwoord een handjevol vragen - Klaar
- Er wordt code toegevoegd aan
.bashrc
. Ik heb dit bestand vervolgens aangepast, zodat de toevoegingen op een voor mij logischere plek staan. Activeer deze toevoegingen middelssource ~/.bashrc
.
Test
> python3 Python 3.8.5 (default, Sep 4 2020, 07:30:14) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information.