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
840
Anaconda Project and JupyterLab
chdoig
2
430
Anaconda Fusion
chdoig
0
640
GeoRodeo 2017 Anaconda
chdoig
0
2.7k
Anaconda Project
chdoig
1
370
Embracing Open Data Science in Your Organization
chdoig
0
530
Scaling DS in Python
chdoig
6
1.6k
Navigating the Data Science Python Ecosystem
chdoig
4
1k
Other Decks in Technology
See All in Technology
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
Snykで始めるセキュリティ担当者とSREと開発者が楽になる脆弱性対応 / Getting started with Snyk Vulnerability Response
yamaguchitk333
2
190
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
170
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
Storage Browser for Amazon S3
miu_crescent
1
240
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
170
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
17
4.8k
Qiita埋め込み用スライド
naoki_0531
0
5.1k
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
230
kargoの魅力について伝える
magisystem0408
0
210
生成AIのガバナンスの全体像と現実解
fnifni
1
190
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
170
Featured
See All Featured
The Invisible Side of Design
smashingmag
298
50k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
A Tale of Four Properties
chriscoyier
157
23k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
The Pragmatic Product Professional
lauravandoore
32
6.3k
The Cost Of JavaScript in 2023
addyosmani
45
7k
Unsuck your backbone
ammeep
669
57k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Building a Scalable Design System with Sketch
lauravandoore
460
33k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
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