Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Conda, PyGotham 2015
Search
Christine Doig
August 15, 2015
Technology
2
1.2k
Conda, PyGotham 2015
Conda lightning talk at PyGotham 2015
Christine Doig
August 15, 2015
Tweet
Share
More Decks by Christine Doig
See All by Christine Doig
PyCon Colombia 2018
chdoig
3
1.5k
RL PyTexas 2017
chdoig
5
850
Anaconda Project and JupyterLab
chdoig
2
440
Anaconda Fusion
chdoig
0
660
GeoRodeo 2017 Anaconda
chdoig
0
2.8k
Anaconda Project
chdoig
1
380
Embracing Open Data Science in Your Organization
chdoig
0
540
Scaling DS in Python
chdoig
6
1.6k
Navigating the Data Science Python Ecosystem
chdoig
4
1.1k
Other Decks in Technology
See All in Technology
モジュラーモノリスでスケーラブルなシステムを作る - BASE のリアーキテクチャのいま
panda_program
7
2k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
20k
Dapr For Java Developers SouJava 25
salaboy
1
130
Cline、めっちゃ便利、お金が飛ぶ💸
iwamot
19
18k
Explainable Software Engineering in the Public Sector
avandeursen
0
360
Cloud Native PG 使ってみて気づいたことと最新機能の紹介 - 第52回PostgreSQLアンカンファレンス
seinoyu
2
200
DevOps文化を育むQA 〜カルチャーバブルを生み出す戦略〜 / 20250317 Atsushi Funahashi
shift_evolve
1
110
OPENLOGI Company Profile
hr01
0
61k
SpannerとAurora DSQLの同時実行制御の違いに想いを馳せる
masakikato5
0
570
一人QA時代が終わり、 QAチームが立ち上がった話
ma_cho29
0
290
Amazon Q Developer 他⽣成AIと⽐較してみた
takano0131
1
120
バックエンドエンジニアによるフロントエンドテスト拡充の具体的手法
kinosuke01
1
710
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Done Done
chrislema
183
16k
How to train your dragon (web standard)
notwaldorf
91
5.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
135
33k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.4k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Raft: Consensus for Rubyists
vanstee
137
6.8k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Code Reviewing Like a Champion
maltzj
522
39k
Statistics for Hackers
jakevdp
798
220k
Transcript
None
None
CONDA PACKAGE AND ENVIRONMENT MANAGER LANGUAGE AGNOSTIC CROSS-PLATFORM Python R
Java OS X Linux Windows Scala
None
CO NDA INSTALL PYTHO N=3.4 M O NG O DB
PYTHO N=2.7 R SPARK NUTCH R-M ATRIX PANDAS NUM PY FLASK NO DE
None
CONDA IS OPEN SOURCE https://github.com/conda BSD licensed
ANACONDA MINICONDA PYTHON CONDA PACKAGES PYTHON CONDA a bunch of
for scientific computing and data science
None
CONDA VS PIP(+VIRTUALENV) CONDA PIP Language agnostic Python packages handles
environments ! natively virtualenv installs binaries compiles from source general purpose ! envs python! envs
CONDA + PIP $ conda install pip $ pip install
foo CONDA SKELETON PYPI $ conda skeleton pypi foo $ conda build foo/
WHY USE CONDA? Seen this message too many times:“Storing debug
log for failure in /.pip/pip.log” Python with compiled, platform- dependent C, C++, or Fortran code Multi-language Data Science Projects
None
None
ANACONDA.ORG ~GITHUB FOR BINARY PACKAGES $ conda build conda.recipe/ $
conda server upload my_foo_pkg $ conda install -c chdoig my_foo_pkg
None
None
ANACONDA.ORG/R $ conda install -c r r-foo
None
None
ENVIRONMENT.YML name: myenv! channels:! - chdoig! - r! - foo!
dependecies:! - python=2.7! - r! - r-ldavis! - pandas! - mongodb! - spark=1.5! - pip! - pip:! ! ! ! - flask-migrate! ! ! ! - bar=1.4
$ conda env create $ source activate myenv CREATE AND
ACTIVATE
FREEZE VERSIONS $ conda env export -n freeze.yml name: pygotham-topic!
dependencies:! - certifi=14.05.14=py27_0! - gensim=0.10.3=py27_0! - ipython=3.2.1=py27_0! - ipython-notebook=3.2.1=py27_0! - jinja2=2.8=py27_0! - jsonschema=2.4.0=py27_0! - libsodium=0.4.5=2! - markupsafe=0.23=py27_0! - mistune=0.7=py27_0! - ncurses=5.9=1! - nltk=3.0.4=np19py27_0! - numpy=1.9.2=py27_0!
UPLOAD ENVIRONMENTS TO ANACONDA.ORG $ conda server upload my_foo_env.yml $
conda env create chdoig/my_foo_env.yml
None
CONDA AUTO ENV cdoig:~$ cd pygotham-topic-modeling/ discarding /anaconda/bin from PATH
prepending /anaconda/envs/pygotham-topic/bin to PATH (pygotham-topic)cdoig:~/pygotham-topic-modeling$ https://github.com/chdoig/conda-auto-env
None
CONDA.PYDATA.ORG
None
CONTINUUM.IO/BLOG/CONDA-DATA-SCIENCE
None
CONTINUUM.IO
None
https://speakerdeck.com/chdoig/conda-pygotham-2015 @ch_doig Christine Doig, Data Scientist Introduction to Topic Modeling
in Python PyGotham 2015, Sun 3.30pm