INTRODUCTION TO
CONDA
Python Bordeaux Meetup – Node
2016-02-04
Damien Garaud
WHO AM I?
Damien Garaud
Scientist Programmer
Trainer & learning-addict
@jazzydag
https://github.com/garaud
PACKAGE DISTRIBUTION FAMILY
easy_install
pip
virtualenv
wheel
PIP FOR SCIENTIFIC PACKAGES
Have you ever try a
pip install scipy?
JUST DON'T
DID YOU SAY COMPILATION?
Give me a C/C++/Fortran compiler please
OS & Architecture dependent
ABI compatibility
Numpy stack...
PYTHON PACKAGING
Python version 2.7, 3.4, 3.5
Which compilers? Which version?
Numpy C API version 1.7, 1.8, 2.X
Deep Depen...
GREAT POWER, GREAT RESP...
You should manage your own stuff
GNU/Linux: apt, yum, pacman
OSX: macports, homebrew
Windows: ??
(ANA)CONDA
Python distribution: 2.7, 3.5
Package Manager: conda
Continuum Analytics company
http://docs.continuum.io/anaco...
MAIN COMMANDS
Command Line doesn't bite
conda help
conda search <pkg>
conda install <pkg>
conda upgrade <pkg>
conda uninst...
CONDA ENVIRONMENTS
Quite similar to virtualenv
conda create ‐n newenv <pkg1> <pkg2>
Can use different Python versions
cond...
DEMO
...
A Prayer for the Wireless God
...
THANKS
Inspired from
https://speakerdeck.com/teoliphant/packaging-and-
deployment-with-conda
Prochain SlideShare
Chargement dans…5
×

Introduction to the Python conda package manager

364 vues

Publié le

It can be a mess to install some Python scientific packages such as pandas or numpy when you operating system does not have any C or Fortran compilers.

With Conda and the Python distribution Anaconda, it's now possible to install several Python libraries on any OS.

Publié dans : Logiciels
0 commentaire
0 j’aime
Statistiques
Remarques
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Aucun téléchargement
Vues
Nombre de vues
364
Sur SlideShare
0
Issues des intégrations
0
Intégrations
26
Actions
Partages
0
Téléchargements
4
Commentaires
0
J’aime
0
Intégrations 0
Aucune incorporation

Aucune remarque pour cette diapositive

Introduction to the Python conda package manager

  1. 1. INTRODUCTION TO CONDA Python Bordeaux Meetup – Node 2016-02-04 Damien Garaud
  2. 2. WHO AM I? Damien Garaud Scientist Programmer Trainer & learning-addict @jazzydag https://github.com/garaud
  3. 3. PACKAGE DISTRIBUTION FAMILY easy_install pip virtualenv wheel
  4. 4. PIP FOR SCIENTIFIC PACKAGES Have you ever try a pip install scipy?
  5. 5. JUST DON'T
  6. 6. DID YOU SAY COMPILATION? Give me a C/C++/Fortran compiler please OS & Architecture dependent ABI compatibility Numpy stack <- pandas, scipy, matplotlib, sklearn, skimages, OpenCV, PyTables, numexpr
  7. 7. PYTHON PACKAGING Python version 2.7, 3.4, 3.5 Which compilers? Which version? Numpy C API version 1.7, 1.8, 2.X Deep Dependencies I'm a pandas
  8. 8. GREAT POWER, GREAT RESP... You should manage your own stuff GNU/Linux: apt, yum, pacman OSX: macports, homebrew Windows: ??
  9. 9. (ANA)CONDA Python distribution: 2.7, 3.5 Package Manager: conda Continuum Analytics company http://docs.continuum.io/anaconda/index http://conda.pydata.org/docs/index.html
  10. 10. MAIN COMMANDS Command Line doesn't bite conda help conda search <pkg> conda install <pkg> conda upgrade <pkg> conda uninstall <pkg>
  11. 11. CONDA ENVIRONMENTS Quite similar to virtualenv conda create ‐n newenv <pkg1> <pkg2> Can use different Python versions conda create ‐n py35 python=3.5 source activate py35 pip still works clone, reproduce, build, share
  12. 12. DEMO ... A Prayer for the Wireless God ...
  13. 13. THANKS Inspired from https://speakerdeck.com/teoliphant/packaging-and- deployment-with-conda

×