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
370
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
What we keep in mind when migrating from Serverless Framework to AWS CDK and AWS SAM
kasacchiful
1
130
AWSでIcebergを使ってデータウェアハウスを構築してみる / 20240810-jawsug-akita
kasacchiful
0
17
サーバーレスパターンを元にAWS CDKでデータ基盤を構築する / 20240731_classmethod_odyssey_online_build_a_data_infrastructures_using_aws_cdk_based_on_serverless_patterns
kasacchiful
0
300
AWS IoT 1-clickがサービス終了するので、SORACOMに移行した話 / 20240518-jawsug-niigata-iotlt-niigata
kasacchiful
0
150
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
450
AWSの各種サービス紹介と活用方法 − AI・ML活用デモを交えて − / 20231208aws-aiml-seminar
kasacchiful
0
460
Amazon Rekognition デモ / 20231208-aws_seminar-01-rekognition-demo
kasacchiful
0
470
Amazon Lookout for Vision デモ / 20231208-aws_seminar-02-lookout-vision-demo
kasacchiful
0
470
Python機械学習勉強会in新潟のロゴが無いので、生成AIで作ってみましょう / osc2023niigata
kasacchiful
0
410
Other Decks in Programming
See All in Programming
Prompt Cachingは本当に効果的なのか検証してみた.pdf
ttnyt8701
0
250
マルチモジュールにおけるテスト最適化
fxwx23
0
110
2024 컴포즈 정원사
jisungbin
0
140
Rubyのobject_id
qnighy
6
1.3k
null or undefined
susisu
20
4k
Swiftコードバトル必勝法
toshi0383
0
140
私の考える初学者がBlazorできるまでの学習方法
tomokusaba
1
240
ドメイン駆動設計を実践するために必要なもの
bikisuke
3
290
The Sequel to a Dream of Ruby Parser's Grammar
ydah
1
180
Polars を Kaggle コンペで使ってみた(LMSYS Chatbot Arena)
kohecchi
1
360
私のEbitengineの第一歩
qt_luigi
0
410
『ドメイン駆動設計をはじめよう』中核の業務領域
masuda220
PRO
5
840
Featured
See All Featured
Pencils Down: Stop Designing & Start Developing
hursman
118
11k
Music & Morning Musume
bryan
46
6k
Being A Developer After 40
akosma
82
580k
Designing on Purpose - Digital PM Summit 2013
jponch
113
6.8k
Building Your Own Lightsaber
phodgson
101
5.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
230
130k
Building Applications with DynamoDB
mza
89
5.9k
Infographics Made Easy
chrislema
239
18k
What's new in Ruby 2.0
geeforr
340
31k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
[RailsConf 2023] Rails as a piece of cake
palkan
44
4.6k
How To Stay Up To Date on Web Technology
chriscoyier
785
250k
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