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
380
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
Amazon S3 TablesとAmazon S3 Metadataを触ってみた / 20250201-jawsug-tochigi-s3tables-s3metadata
kasacchiful
0
180
Amazon S3 TablesとAmazon S3 Metadataを動かしてみた / 20250125-niigata-5min-tech-lt
kasacchiful
0
19
dbt coreとFargateでデータ変換 / 20240928-jawsug-toyama-hokuriku-shinkansen
kasacchiful
1
96
What we keep in mind when migrating from Serverless Framework to AWS CDK and AWS SAM
kasacchiful
1
350
AWSでIcebergを使ってデータウェアハウスを構築してみる / 20240810-jawsug-akita
kasacchiful
0
42
サーバーレスパターンを元にAWS CDKでデータ基盤を構築する / 20240731_classmethod_odyssey_online_build_a_data_infrastructures_using_aws_cdk_based_on_serverless_patterns
kasacchiful
0
500
AWS IoT 1-clickがサービス終了するので、SORACOMに移行した話 / 20240518-jawsug-niigata-iotlt-niigata
kasacchiful
0
270
AWS Application Composerで始める、 サーバーレスなデータ基盤構築 / 20240406-jawsug-hokuriku-shinkansen
kasacchiful
1
580
AWSの各種サービス紹介と活用方法 − AI・ML活用デモを交えて − / 20231208aws-aiml-seminar
kasacchiful
0
540
Other Decks in Programming
See All in Programming
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
40
16k
クリーンアーキテクチャから見る依存の向きの大切さ
shimabox
4
910
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
260
.NET Frameworkでも汎用ホストが使いたい!
tomokusaba
0
190
Go 1.24でジェネリックになった型エイリアスの紹介
syumai
2
260
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
53
18k
ソフトウェアエンジニアの成長
masuda220
PRO
12
2k
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
150
Jakarta EE meets AI
ivargrimstad
0
160
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
950
Conform を推す - Advocating for Conform
mizoguchicoji
3
710
Amazon Q Developer Proで効率化するAPI開発入門
seike460
PRO
0
120
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
How to Think Like a Performance Engineer
csswizardry
22
1.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
980
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Gamification - CAS2011
davidbonilla
80
5.1k
The Cult of Friendly URLs
andyhume
78
6.2k
Designing Experiences People Love
moore
140
23k
BBQ
matthewcrist
87
9.5k
Six Lessons from altMBA
skipperchong
27
3.6k
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