Introduction to the Python conda package manager
-
Upload
damien-garaud -
Category
Software
-
view
327 -
download
0
Transcript of Introduction to the Python conda package manager
INTRODUCTION TOCONDA
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 FAMILYeasy_install
pip
virtualenv
wheel
PIP FOR SCIENTIFIC PACKAGESHave 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 <- pandas, scipy, matplotlib, sklearn,skimages, OpenCV, PyTables, numexpr
PYTHON PACKAGINGPython 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
GREAT POWER, GREAT RESP...You should manage your own stuff
GNU/Linux: apt, yum, pacman
OSX: macports, homebrew
Windows: ??
(ANA)CONDAPython distribution: 2.7, 3.5
Package Manager: conda
Continuum Analytics company
http://docs.continuum.io/anaconda/index
http://conda.pydata.org/docs/index.html
MAIN COMMANDSCommand Line doesn't bite
conda help
conda search <pkg>
conda install <pkg>
conda upgrade <pkg>
conda uninstall <pkg>
CONDA ENVIRONMENTSQuite 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
DEMO...
A Prayer for the Wireless God
...
THANKSInspired from
https://speakerdeck.com/teoliphant/packaging-and-deployment-with-conda