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
1.2k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Conda, PyGotham 2015
Conda lightning talk at PyGotham 2015
Christine Doig
August 15, 2015
More Decks by Christine Doig
See All by Christine Doig
PyCon Colombia 2018
chdoig
3
1.9k
RL PyTexas 2017
chdoig
5
910
Anaconda Project and JupyterLab
chdoig
2
530
Anaconda Fusion
chdoig
0
770
GeoRodeo 2017 Anaconda
chdoig
0
3.7k
Anaconda Project
chdoig
1
450
Embracing Open Data Science in Your Organization
chdoig
0
600
Scaling DS in Python
chdoig
6
1.7k
Navigating the Data Science Python Ecosystem
chdoig
4
1.2k
Other Decks in Technology
See All in Technology
NYC Summit 2026 におけるAmazon Bedrock AgentCore のアップデート
ren8k
3
300
データエンジニアこそ組織のオントロジーに向き合うべき — 問いに答えるAIから、事業を動かすAIへ
gappy50
7
3k
個人OSSが、机の上から世界に広がるまでの話
shinyasaita
1
200
なぜ、あなたのエージェントは言うことを聞かないのか
segavvy
1
610
AIがAPIを書く時代に、私たちは何を設計すべきか
nagix
0
200
AIQAのナレッジ構築について
qatonchan
1
140
データ組織の転換期 一足飛びしない段階的戦略
leveragestech
PRO
0
140
「待ち時間」の消滅と「自我消耗」の加速:生成AI時代のエンジニアを救うメンタル・リソース管理
poropinai1966
0
400
新しい SLO が良い感じにハマっている話
z63d
4
1.9k
それでも、技術なブログを書く理由 #kichijojipm / Why I Still Write Tech Blogs Even Now
shinkufencer
0
1.5k
Master Dataグループ紹介資料
sansan33
PRO
1
4.8k
StepFunctionsとGraphRAGを活用した暗黙知活用のためのRAG基盤
yakumo
0
200
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
360
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
750
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Embracing the Ebb and Flow
colly
88
5.1k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
200
Design in an AI World
tapps
1
270
The Mindset for Success: Future Career Progression
greggifford
PRO
0
430
Typedesign – Prime Four
hannesfritz
42
3.1k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
420
Raft: Consensus for Rubyists
vanstee
141
7.6k
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