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/01/31 11:29] – [Environnements virtuels] 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 23: Ligne 24:
     * [[https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart-fr|Comment installer Anaconda sur Ubuntu 18.04]]     * [[https://www.digitalocean.com/community/tutorials/how-to-install-anaconda-on-ubuntu-18-04-quickstart-fr|Comment installer Anaconda sur Ubuntu 18.04]]
     * [[http://askubuntu.com/questions/505919/installing-anaconda-python-on-ubuntu]] (concerne installation sous Ubuntu GNU/Linux)     * [[http://askubuntu.com/questions/505919/installing-anaconda-python-on-ubuntu]] (concerne installation sous Ubuntu GNU/Linux)
-    * 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?]] 
  
-==== Mises à jour, update ====+==== Sous GNU/Linux Ubuntu 20.04 : ==== 
 + 
 +  * mars 2022 : 
 + 
 +  sudo apt-get update 
 +  sudo apt-get upgrade 
 +  sudo apt-get install curl 
 +  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-2021.11-Linux-x86_64.sh-hash/]] 
 +  * 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?]] 
 +    * 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> 
 +[Desktop Entry] 
 +Version=1.0 
 +Type=Application 
 +Name=Anaconda-Navigator 
 +GenericName=Anaconda 
 +Exec=/bin/bash "/home/username/bin/anaconda.sh" 
 +Icon=/home/username/anaconda3/lib/python3.8/site-packages/anaconda_navigator/static/images/anaconda-icon-256x256.png 
 +Terminal=false 
 +StartupNotify=true 
 +</code> 
 +    * exécuter la commande : sudo desktop-file-install anaconda.desktop 
 + 
 + 
 +===== 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
     * mieux que conda update --all --yes : see [[https://github.com/conda/conda/issues/1414]]     * mieux que conda update --all --yes : see [[https://github.com/conda/conda/issues/1414]]
     * ref : [[https://stackoverflow.com/questions/45197777/how-do-i-update-anaconda]]     * ref : [[https://stackoverflow.com/questions/45197777/how-do-i-update-anaconda]]
 +
  
 ==== Désinstallation ==== ==== Désinstallation ====
Ligne 50: 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.1612088981.txt.gz
  • Dernière modification : 2021/01/31 11:29
  • de villersd