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
PRO
October 13, 2018
Programming
400
0
Share
PythonとJupyterの インストールと実行 / python-jupyter-install
Python機械学習勉強会 in 新潟 Restart #2 の入門編にて、PythonとJupyterのインストール時の解説資料
kasacchiful
PRO
October 13, 2018
More Decks by kasacchiful
See All by kasacchiful
Step Functionsで始めるサーバーレス入門 〜 つないで動かすAWSサーバーレス
kasacchiful
PRO
0
42
Amazon Q Developer CLI (現Kiro CLI) で作った 新潟ランチマップWebアプリのこれまでとこれから / 20260207jawsug-tochigi
kasacchiful
PRO
0
84
Amazon SageMaker Catalogの、AIエージェントによる自動データ分類機能を試してみようとしたが、できなかったので、代わりに最近構築したデータ連携基盤を紹介します / 20260117jawsug-fukui
kasacchiful
PRO
0
73
データファイルをAWSのDWHサービスに格納する / 20251115jawsug-tochigi
kasacchiful
PRO
2
270
テーブル定義書の構造化抽出して、生成AIでDWH分析を試してみた / devio2025tokyo
kasacchiful
PRO
0
830
ワイがおすすめする新潟の食 / 20250912jasst-niigata-lt
kasacchiful
PRO
0
53
WorkersでDiscord botを試してみた / 20250822workers-tech-talk-niigata
kasacchiful
PRO
1
140
地域コミュニティへの「感謝」と「恩返し」 / 20250726jawsug-tochigi
kasacchiful
PRO
0
280
Amazon Q Developer for CLI を使って PHP Conference 新潟 2025 参加者向けにグルメサイトを構築した話 / 20250620niigata-5min-tech
kasacchiful
PRO
1
170
Other Decks in Programming
See All in Programming
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
320
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
310
UIの境界線をデザインする | React Tokyo #15 メイントーク
sasagar
2
420
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
450
PHPer、Cloudflare に引っ越す
suguruooki
1
130
Terraform言語の静的解析 / static analysis of Terraform language
wata727
1
130
AIを導入する前にやるべきこと
negima
2
320
From Formal Specification to Property Based Test
ohbarye
0
680
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
160
My daily life on Ruby
a_matsuda
2
170
PHPでバイナリをパースして理解するASN.1
muno92
PRO
0
390
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
410
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
15k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
A better future with KSS
kneath
240
18k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
190
Building Adaptive Systems
keathley
44
3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
GitHub's CSS Performance
jonrohan
1032
470k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
160
New Earth Scene 8
popppiees
3
2.2k
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
300
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