Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Introduction to the Python conda package manager

403 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
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

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

×