floss:anaconda

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
floss:anaconda [2021/02/01 19:16] villersdfloss:anaconda [2023/05/28 10:36] (Version actuelle) villersd
Ligne 14: Ligne 14:
     * [[https://problemsolvingwithpython.com/01-Orientation/01.03-Installing-Anaconda-on-Windows/|Installing Anaconda on Windows - Problem Solving with Python]]     * [[https://problemsolvingwithpython.com/01-Orientation/01.03-Installing-Anaconda-on-Windows/|Installing Anaconda on Windows - Problem Solving with Python]]
     * [[https://medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d|Install Python (Anaconda) on Windows - by Michael Galarnyk - Medium]]     * [[https://medium.com/@GalarnykMichael/install-python-anaconda-on-windows-2020-f8e188f9a63d|Install Python (Anaconda) on Windows - by Michael Galarnyk - Medium]]
 +    * [[https://realpython.com/python-windows-machine-learning-setup/|Setting Up Python for Machine Learning on Windows]], Renato Candido, Real Python, 2021
   * Mac OS   * Mac OS
     * [[https://docs.anaconda.com/anaconda/install/mac-os/]]     * [[https://docs.anaconda.com/anaconda/install/mac-os/]]
Ligne 26: Ligne 27:
 ==== Sous GNU/Linux Ubuntu 20.04 : ==== ==== Sous GNU/Linux Ubuntu 20.04 : ====
  
-  * janvier 2021 :+  * mars 2022 :
  
   sudo apt-get update   sudo apt-get update
   sudo apt-get upgrade   sudo apt-get upgrade
   sudo apt-get install curl   sudo apt-get install curl
-  curl -O https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh+  curl -O https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
  
-  * vérifier sur [[https://docs.anaconda.com/anaconda/install/hashes/Anaconda3-2020.11-Linux-x86_64.sh-hash/]] +  * vérifier sur [[https://docs.anaconda.com/anaconda/install/hashes/Anaconda3-2021.11-Linux-x86_64.sh-hash/]] 
-  * bash Anaconda3-2020.11-Linux-x86_64.sh+  * bash Anaconda3-2021.11-Linux-x86_64.sh
  
   * création d'un lanceur pour Anaconda Navigator : [[https://askubuntu.com/questions/1017284/cant-create-anaconda-shortcut-to-launch-from-desktop-on-ubuntu-17-10|Can't create anaconda shortcut to launch from desktop on ubuntu 17.10?]]   * création d'un lanceur pour Anaconda Navigator : [[https://askubuntu.com/questions/1017284/cant-create-anaconda-shortcut-to-launch-from-desktop-on-ubuntu-17-10|Can't create anaconda shortcut to launch from desktop on ubuntu 17.10?]]
 +    * dans ~/bin, créer le fichier anaconda.sh
  
 +<code anaconda.sh>
 +export CONDA_PYTHON_EXE=/home/username/anaconda3/bin/python
 +export PATH=/home/username/anaconda3/bin:$PATH
 +python /home/username/anaconda3/bin/anaconda-navigator
 +</code>
 +
 +    * créer un fichier anaconda.desktop 
 <code anaconda.desktop> <code anaconda.desktop>
 [Desktop Entry] [Desktop Entry]
Ligne 49: Ligne 58:
 StartupNotify=true StartupNotify=true
 </code> </code>
 +    * exécuter la commande : sudo desktop-file-install anaconda.desktop
  
  
-==== Mises à jour, update ====+===== Préférences, réglages ===== 
 +  * Anaconda-Navigator 
 +    * enable_high_dpi_scaling = False (pour évitre de trop gros lanceurs) 
 +    * "channels" → ajouter à "default" le canal "conda-forge" 
 +  * Spyder 
 +    * thème clair : Idle,... 
 +    * menu Outils - option Préférences - rubrique Console Ipython - onglet Graphiques - la sortie “Automatique” permet d'obtenir les graphes dans une fenêtre interactive, sinon, choisir “En ligne”. L'option sera prise en compte après avoir quitté Spyder et l'avoir relancé 
 + 
 + 
 +===== Mises à jour, update =====
   * conda update conda   * conda update conda
   * conda update anaconda   * conda update anaconda
Ligne 77: Ligne 96:
  
  
 +===== Alternatives à conda ===== 
 +  * [[https://mamba.readthedocs.io/en/latest/|Mamba]] : fast, robust, and cross-platform package manager, running on Windows, OS X and Linux (ARM64 and PPC64LE included) and fully compatible with conda packages. Mamba supports most of conda’s commands.
  
  • floss/anaconda.1612203407.txt.gz
  • Dernière modification : 2021/02/01 19:16
  • de villersd