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
PythonとJupyterのインストールと実行 / python-jupyter-install
Search
kasacchiful
October 13, 2018
Programming
0
390
PythonとJupyterの インストールと実行 / python-jupyter-install
Python機械学習勉強会 in 新潟 Restart #2 の入門編にて、PythonとJupyterのインストール時の解説資料
kasacchiful
October 13, 2018
Tweet
Share
More Decks by kasacchiful
See All by kasacchiful
WorkersでDiscord botを試してみた / 20250822workers-tech-talk-niigata
kasacchiful
0
19
地域コミュニティへの「感謝」と「恩返し」 / 20250726jawsug-tochigi
kasacchiful
0
130
Amazon Q Developer for CLI を使って PHP Conference 新潟 2025 参加者向けにグルメサイトを構築した話 / 20250620niigata-5min-tech
kasacchiful
1
89
ワイがおすすめする新潟の食 / 20250530phpconf-niigata-eve
kasacchiful
0
340
生成AIでメタデータを生成してみた / 20250525generate-metadata-using-generative-ai
kasacchiful
0
67
Strands Agents SDK で AIエージェント作成 を試してみた / 20250525strands-agents
kasacchiful
0
240
いろんな世界を見てみよう / 20250508ninno_tech_fest
kasacchiful
0
40
Amazon Q Developer for CLIのある生活 / 20250427ai_craft_hacks_niigata1
kasacchiful
1
92
AWSのコンテナサービス / jawsug-akita-aws-container-services
kasacchiful
0
87
Other Decks in Programming
See All in Programming
Understanding Ruby Grammar Through Conflicts
yui_knk
1
110
AIに安心して任せるためにTypeScriptで一意な型を作ろう
arfes0e2b3c
0
370
No Install CMS戦略 〜 5年先を見据えたフロントエンド開発を考える / no_install_cms
rdlabo
0
480
画像コンペでのベースラインモデルの育て方
tattaka
3
1.7k
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
1
1.8k
Claude Code と OpenAI o3 で メタデータ情報を作る
laket
0
130
tool ディレクティブを導入してみた感想
sgash708
1
130
兎に角、コードレビュー
mitohato14
0
130
GitHub Copilotの全体像と活用のヒント AI駆動開発の最初の一歩
74th
7
2.9k
Amazon Q CLI開発で学んだAIコーディングツールの使い方
licux
3
180
Dart 参戦!!静的型付き言語界の隠れた実力者
kno3a87
0
200
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
110
20k
Adopting Sorbet at Scale
ufuk
77
9.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
How STYLIGHT went responsive
nonsquared
100
5.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Transcript
PythonJupyter Python in 2018-10-13
Python
Python0 WindowsPython 0 Mac OSLinux Python 0
,#$*3Python&"),74 !(,%'+,'$2python -V01 $ python -V Python 2.7.15 $ -5python 2.7.156 python 3.x.x ,# $* /.python3!(,% /. $ python3 -V Python 3.6.5 $
Python 2%(0 WindowsK WindowsPythonA:64Python;D" ( FI Windows 2%(.A:
20183105?E<7*$-23.7.0 JG>= B . ,./ 3.6.6C: Python Release Python 3.6.6 https://www.python.org/downloads/release/python-366/, .!#9 OS@8 2% (.&!21)!#)H 2%( 0 64+'(K: Windows x86-64 executable installer 32+'(K: Windows x86 executable installer
Python Windows, !Add Python 3.6 to PATH
$# (%+*)'&"
Python #:*/8 Mac OSW Mac OSPython3!#:*/8=@PythonD M'#/OU MacOS#:*/6!JC=
@%4:+*2-&)PB.8 HomebrewMacPort!JC=@ #:*/6!L =@!XQ 2018;10<HNE>1)5:3.7.0 VSGF K 6#367 3.6.6!LC Python Release Python 3.6.6 https://www.python.org/downloads/release/python-366/!3 6$(A OSI? #:* /6!,$:90$"(0T#:*/ 8 10.9IR: macOS 64-bit installer 10.6IR: macOS 64-bit/32-bit installer
Python Linux Linux (yum, aptPython3.6
venv Python
venv! Python!SwQqB0?BC.i%j3@F87 B0?BCka=956[h, $ B0?BC!p B0?BCsk +'
*$ NJ!^G-, +' Z &<6A Fb-+RoHc+IH *$ rW 8>;12/.NJ +IH 8>;12 / NJ]P +B0?BC.<6AF/9@ p 8>;12/tlU TXK ( @E624;B0?BC OdIV.b+S\. Y:D * B0?BCfe .ugf e n# *$ :D!rWka$Python3.6)!m` venvn",+:Dv_, +&ML!,. ]P+$
venv 210/ 210/.+ !$ #$ )-'(
0/ Python3.6python3 &% $python –m venv 210/", 210/* Windows&% >.¥210/",¥Scripts¥activate MacOS/Linux&% $source 210/",/bin/activate
venv A>=< 6* A>=<7?0 !& %& ,A>=< 3-25
9: +@ !"!&pip6 ##$;1 A>=<8?0 A>=<8?0 .4!&/' Windows/MacOS/Linux)( $deactivate
Anaconda )( "! Anaconda "!'# ,*)( '# conda
& + $ conda create --name env python # )( %$ $ source activate env # (env) $ conda install requests # (env) $ source deactivate #
pip Python
pip pipPython3:5 4< &$&'#80 ( *"
+'% '&$&'# *)! * ( &$&'-7=9/380 &$&'6 2;&$&',1.*)! * (
pip% --! pip install
# pip install == pip install --upgrade $& pip search " ' pip list pip uninstall
jupyter WebPython
Jupyter JupyterWeb7<&,APython8>+<9ZSHC 2= HC@TK(7-'*4 Kernel8>/.@ IL !
%?0<*3$78>+<9GD NotebookY! 6#%=8>+<9 7>+O"! Markdown Y! ][MF 5);:?4 MW KRLaTexMF ! JN PV +<6Q\8>+<9BE NotebookIX NotebookHTMLTeXPDFU1&?>5
Jupyter Jupyter pip Jupyter !
pip install jupyter
Jupyter Notebook 94 Jupyter Notebook8Python@=<: 26 (- 30
jupyter notebook %,*)94 94 "-.';> 5000? !94A1Web$*94 !8 #+/B&57
Jupyter Notebook
3 3
07(5 7% &9$ .+
&8/ "3* &3* '#,3* '#!1 -2* -2*)'# 4607
R C S Markdown C S + C + +
C + +
S S S S Python C C C S +
R + + + + S
JupyterServer + C
Jupyter "#$ ' & "# !
%$
Jupyter '& %" + Windows+ Jupyter
Notebook # https://qiita.com/acknpop/items/4e5b57e38780068a9155 Jupyter Notebook# ) Mac 1 Vivaldi2 https://qiita.com/nannoki/items/315a12a8700c1ca92da3 # $ jupyter notebook --generate-config $ jupyter notebook password Markdown( Markdown -( https://tatesuke.github.io/KanTanMarkdown/syntax.html $*((Jupyter * https://jupyter- notebook.readthedocs.io/en/latest/examples/Notebook/Typesett ing%20Equations.html .-!)Jupyter Extentions [&*] Jupyter "!',0/ https://qiita.com/simonritchie/items/88161c806197a0b84174 ,PDF $%. Jupyter NotebookPDF https://qiita.com/masa-ita/items/8d5ebe8afe0d580af184