CODEDRAGON ㆍDevelopment/Python
파이썬 데이터 분석 패키지 설치
파이썬을 이미 설치했다면 다음과 같이 pip 명령을 사용하여 필요한 패키지들을 설치할 수 있습니다.
pip install numpy scipy SymPy scikit-learn matplotlib ipython mglearn pandas pillow graphviz Seaborn Bokeh StatsModels patsy
Microsoft Windows [Version 10.0.17134.112] (c) 2018 Microsoft Corporation. All rights reserved.
C:\CodeLab>pip install numpy scipy SymPy scikit-learn matplotlib ipython mglearn pandas pillow graphviz Seaborn Bokeh StatsModels patsy Collecting numpy Downloading https://files.pythonhosted.org/packages/0d/b7/0c804e0bcba6505f8392d042d5e333a5e06f30 8e019517111fbc7767a0bc/numpy-1.14.5-cp36-none-win_amd64.whl (13.4MB) 100% |████████████████████████████████| 13.4MB 1.9MB/s Collecting scipy Downloading https://files.pythonhosted.org/packages/62/e2/364f0bcc641aeff79d743c732769d5dc31a1e7 8c27699229431412c4b425/scipy-1.1.0-cp36-none-win_amd64.whl (31.1MB) 100% |████████████████████████████████| 31.1MB 33kB/s Collecting SymPy Downloading https://files.pythonhosted.org/packages/91/26/4e477dbd1f9260eb743d9f221af3044648a8fb 2fcf3f2f23daee4dc831a4/sympy-1.1.1.tar.gz (4.6MB) 100% |████████████████████████████████| 4.6MB 1.1MB/s Collecting scikit-learn Downloading https://files.pythonhosted.org/packages/67/e5/1459a3d6c6029a86b840b7701c48429d857eb2 086916fec76f97c94dcc7a/scikit_learn-0.19.1-cp36-cp36m-win_amd64.whl (4.3MB) 100% |████████████████████████████████| 4.4MB 4.7MB/s Collecting matplotlib Downloading https://files.pythonhosted.org/packages/bf/b9/485032835e979ee11d514bb3b9b0543a928b8b 96c099c178aeab1d2ba861/matplotlib-2.2.2-cp36-cp36m-win_amd64.whl (8.7MB) 100% |████████████████████████████████| 8.7MB 1.0MB/s Collecting ipython Downloading https://files.pythonhosted.org/packages/b1/7f/91d50f28af3e3a24342561983a7857e399ce24 093876e6970b986a0b6677/ipython-6.4.0-py3-none-any.whl (750kB) 100% |████████████████████████████████| 757kB 6.8MB/s Collecting mglearn Downloading https://files.pythonhosted.org/packages/87/6e/83de2a2279bb4e076f330e8c1c18f80e036e4e 1097aa0a8288c4c7fd198f/mglearn-0.1.6.tar.gz (541kB) 100% |████████████████████████████████| 542kB 5.4MB/s Collecting pandas Downloading https://files.pythonhosted.org/packages/ad/0b/f65a63cccc5e37a7af983fc87a8c9e56feb499 8d8877f8f2af21f40bcf3c/pandas-0.23.1-cp36-cp36m-win_amd64.whl (10.5MB) 100% |████████████████████████████████| 10.5MB 2.6MB/s Collecting pillow Downloading https://files.pythonhosted.org/packages/a4/86/283719dac6309cf483452abb09759be9b2c097 4435ed608dc67949127e13/Pillow-5.1.0-cp36-cp36m-win_amd64.whl (1.6MB) 100% |████████████████████████████████| 1.6MB 1.6MB/s Collecting graphviz Downloading https://files.pythonhosted.org/packages/84/44/21a7fdd50841aaaef224b943f7d10df87e476e 181bb926ccf859bcb53d48/graphviz-0.8.3-py2.py3-none-any.whl Collecting Seaborn Downloading https://files.pythonhosted.org/packages/10/01/dd1c7838cde3b69b247aaeb61016e238cafd81 88a276e366d36aa6bcdab4/seaborn-0.8.1.tar.gz (178kB) 100% |████████████████████████████████| 184kB 7.9MB/s Collecting Bokeh Downloading https://files.pythonhosted.org/packages/07/1b/1bb751797f0bbbafc2642c629656ce158e7e7b 7fb1110f449f7c320fb819/bokeh-0.13.0.tar.gz (16.0MB) 100% |████████████████████████████████| 16.0MB 1.8MB/s Collecting StatsModels Downloading https://files.pythonhosted.org/packages/77/2b/8ba61399b31f984c263b177c2e2547a34f0d4d 972a24a51fc77c376079b0/statsmodels-0.9.0-cp36-cp36m-win_amd64.whl (7.0MB) 100% |████████████████████████████████| 7.0MB 3.8MB/s Collecting patsy Downloading https://files.pythonhosted.org/packages/5d/eb/92c4b45ca47a2dd1339c958636e083b50ffadb 5162a599a1cbbe92f89832/patsy-0.5.0-py2.py3-none-any.whl (232kB) 100% |████████████████████████████████| 235kB 4.7MB/s Collecting mpmath>=0.19 (from SymPy) Downloading https://files.pythonhosted.org/packages/7a/05/b3d1472885d8dc0606936ea5da0ccb1b478568 2e78ab15e34ada24aea8d5/mpmath-1.0.0.tar.gz (511kB) 100% |████████████████████████████████| 512kB 3.2MB/s Collecting six>=1.10 (from matplotlib) Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca 43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl Collecting pytz (from matplotlib) Downloading https://files.pythonhosted.org/packages/dc/83/15f7833b70d3e067ca91467ca245bae0f6fe56 ddc7451aa0dc5606b120f2/pytz-2018.4-py2.py3-none-any.whl (510kB) 100% |████████████████████████████████| 512kB 6.8MB/s Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from matplotlib) Downloading https://files.pythonhosted.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b6399 76bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl (56kB) 100% |████████████████████████████████| 61kB 5.1MB/s Collecting kiwisolver>=1.0.1 (from matplotlib) Downloading https://files.pythonhosted.org/packages/44/72/16630c3392eba03788ad87949390516bbc488e 8e118047a3b824631d21a6/kiwisolver-1.0.1-cp36-none-win_amd64.whl (57kB) 100% |████████████████████████████████| 61kB 7.7MB/s Collecting python-dateutil>=2.1 (from matplotlib) Downloading https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32 f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl (211kB) 100% |████████████████████████████████| 215kB 7.0MB/s Collecting cycler>=0.10 (from matplotlib) Downloading https://files.pythonhosted.org/packages/f7/d2/e07d3ebb2bd7af696440ce7e754c59dd546ffe 1bbe732c8ab68b9c834e61/cycler-0.10.0-py2.py3-none-any.whl Collecting jedi>=0.10 (from ipython) Downloading https://files.pythonhosted.org/packages/e7/42/074192a165622e645ed4aeade63e76e56b3496 a044569b3c6cae3a918352/jedi-0.12.0-py2.py3-none-any.whl (172kB) 100% |████████████████████████████████| 174kB 6.4MB/s Collecting backcall (from ipython) Downloading https://files.pythonhosted.org/packages/84/71/c8ca4f5bb1e08401b916c68003acf0a0655df9 35d74d93bf3f3364b310e0/backcall-0.1.0.tar.gz Collecting pygments (from ipython) Downloading https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037 cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl (841kB) 100% |████████████████████████████████| 849kB 1.5MB/s Collecting decorator (from ipython) Downloading https://files.pythonhosted.org/packages/bc/bb/a24838832ba35baf52f32ab1a49b906b5f82fb 7c76b2f6a7e35e140bac30/decorator-4.3.0-py2.py3-none-any.whl Collecting pickleshare (from ipython) Downloading https://files.pythonhosted.org/packages/9f/17/daa142fc9be6b76f26f24eeeb9a13894067149 0b91cb5587393f297c8317/pickleshare-0.7.4-py2.py3-none-any.whl Collecting prompt-toolkit<2.0.0,>=1.0.15 (from ipython) Downloading https://files.pythonhosted.org/packages/04/d1/c6616dd03701e7e2073f06d5c3b41b012256e4 2b72561f16a7bd86dd7b43/prompt_toolkit-1.0.15-py3-none-any.whl (247kB) 100% |████████████████████████████████| 256kB 440kB/s Requirement already satisfied: setuptools>=18.5 in c:\python\python36\lib\site-packages (from ipyt hon) (39.0.1) Collecting simplegeneric>0.8 (from ipython) Downloading https://files.pythonhosted.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d070 9fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip Collecting colorama; sys_platform == "win32" (from ipython) Downloading https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d0 2137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl Collecting traitlets>=4.2 (from ipython) Downloading https://files.pythonhosted.org/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7 cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB) 100% |████████████████████████████████| 81kB 232kB/s Collecting PyYAML>=3.10 (from Bokeh) Downloading https://files.pythonhosted.org/packages/10/7d/6efe0bd69580fecd40adf47ebaf8d807238308 ccb851f0549881fa7605aa/PyYAML-4.1.tar.gz (153kB) 100% |████████████████████████████████| 153kB 1.6MB/s Collecting Jinja2>=2.7 (from Bokeh) Downloading https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d2 77a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl (126kB) 100% |████████████████████████████████| 133kB 9.3MB/s Collecting packaging>=16.8 (from Bokeh) Downloading https://files.pythonhosted.org/packages/ad/c2/b500ea05d5f9f361a562f089fc91f77ed3b478 3e13a08a3daf82069b1224/packaging-17.1-py2.py3-none-any.whl Collecting tornado>=4.3 (from Bokeh) Downloading https://files.pythonhosted.org/packages/3d/4a/5b321dc86dec06205cfae8e06fd9fa78be57e1 99b8665dc152c56f7d5b53/tornado-5.0.2-cp36-cp36m-win_amd64.whl (439kB) 100% |████████████████████████████████| 440kB 5.1MB/s Collecting parso>=0.2.0 (from jedi>=0.10->ipython) Downloading https://files.pythonhosted.org/packages/cd/3e/5908f9577dbd1e5df53e64349bfd11e46b726c 1e4d8cd676bbe8aa4de316/parso-0.2.1-py2.py3-none-any.whl (91kB) 100% |████████████████████████████████| 92kB 4.6MB/s Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.15->ipython) Downloading https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398 d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl Collecting ipython-genutils (from traitlets>=4.2->ipython) Downloading https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2 fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl Collecting MarkupSafe>=0.23 (from Jinja2>=2.7->Bokeh) Downloading https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a4482 55de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz Installing collected packages: numpy, scipy, mpmath, SymPy, scikit-learn, six, pytz, pyparsing, ki wisolver, python-dateutil, cycler, matplotlib, parso, jedi, backcall, pygments, decorator, pickles hare, wcwidth, prompt-toolkit, simplegeneric, colorama, ipython-genutils, traitlets, ipython, pand as, pillow, mglearn, graphviz, Seaborn, PyYAML, MarkupSafe, Jinja2, packaging, tornado, Bokeh, Sta tsModels, patsy Running setup.py install for mpmath ... done Running setup.py install for SymPy ... done Running setup.py install for backcall ... done Running setup.py install for simplegeneric ... done Running setup.py install for mglearn ... done Running setup.py install for Seaborn ... done Running setup.py install for PyYAML ... done Running setup.py install for MarkupSafe ... done Running setup.py install for Bokeh ... done Successfully installed Bokeh-0.13.0 Jinja2-2.10 MarkupSafe-1.0 PyYAML-4.1 Seaborn-0.8.1 StatsModel s-0.9.0 SymPy-1.1.1 backcall-0.1.0 colorama-0.3.9 cycler-0.10.0 decorator-4.3.0 graphviz-0.8.3 ipy thon-6.4.0 ipython-genutils-0.2.0 jedi-0.12.0 kiwisolver-1.0.1 matplotlib-2.2.2 mglearn-0.1.6 mpma th-1.0.0 numpy-1.14.5 packaging-17.1 pandas-0.23.1 parso-0.2.1 patsy-0.5.0 pickleshare-0.7.4 pillo w-5.1.0 prompt-toolkit-1.0.15 pygments-2.2.0 pyparsing-2.2.0 python-dateutil-2.7.3 pytz-2018.4 sci kit-learn-0.19.1 scipy-1.1.0 simplegeneric-0.8.1 six-1.11.0 tornado-5.0.2 traitlets-4.3.2 wcwidth- 0.1.7
C:\CodeLab> |
pip install TensorFlow
C:\CodeLab>pip install TensorFlow Collecting TensorFlow Downloading https://files.pythonhosted.org/packages/f4/88/980d7032b7408fcca5b0b8d420fcd97919197a 9e7acf280ab74fc7db6993/tensorflow-1.8.0-cp36-cp36m-win_amd64.whl (34.4MB) 100% |████████████████████████████████| 34.4MB 329kB/s Collecting grpcio>=1.8.6 (from TensorFlow) Downloading https://files.pythonhosted.org/packages/5d/8b/104918993129d6c919a16826e6adcfa4a106c7 91da79fb9655c5b22ad9ff/grpcio-1.12.1-cp36-cp36m-win_amd64.whl (1.4MB) 100% |████████████████████████████████| 1.4MB 6.4MB/s Requirement already satisfied: six>=1.10.0 in c:\python\python36\lib\site-packages (from TensorFlo w) (1.11.0) Collecting protobuf>=3.4.0 (from TensorFlow) Downloading https://files.pythonhosted.org/packages/75/7a/0dba607e50b97f6a89fa3f96e23bf56922fa59 d748238b30507bfe361bbc/protobuf-3.6.0-cp36-cp36m-win_amd64.whl (1.1MB) 100% |████████████████████████████████| 1.1MB 6.8MB/s Collecting termcolor>=1.1.0 (from TensorFlow) Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b 14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz Collecting gast>=0.2.0 (from TensorFlow) Downloading https://files.pythonhosted.org/packages/5c/78/ff794fcae2ce8aa6323e789d1f8b3b7765f601 e7702726f430e814822b96/gast-0.2.0.tar.gz Collecting wheel>=0.26 (from TensorFlow) Downloading https://files.pythonhosted.org/packages/81/30/e935244ca6165187ae8be876b6316ae201b714 85538ffac1d718843025a9/wheel-0.31.1-py2.py3-none-any.whl (41kB) 100% |████████████████████████████████| 51kB 6.4MB/s Collecting astor>=0.6.0 (from TensorFlow) Downloading https://files.pythonhosted.org/packages/b2/91/cc9805f1ff7b49f620136b3a7ca26f6a1be2ed 424606804b0fbcf499f712/astor-0.6.2-py2.py3-none-any.whl Collecting tensorboard<1.9.0,>=1.8.0 (from TensorFlow) Downloading https://files.pythonhosted.org/packages/59/a6/0ae6092b7542cfedba6b2a1c9b8dceaf278238 c39484f3ba03b03f07803c/tensorboard-1.8.0-py3-none-any.whl (3.1MB) 100% |████████████████████████████████| 3.1MB 5.4MB/s Collecting absl-py>=0.1.6 (from TensorFlow) Downloading https://files.pythonhosted.org/packages/57/8d/6664518f9b6ced0aa41cf50b989740909261d4 c212557400c48e5cda0804/absl-py-0.2.2.tar.gz (82kB) 100% |████████████████████████████████| 92kB 7.1MB/s Requirement already satisfied: numpy>=1.13.3 in c:\python\python36\lib\site-packages (from TensorF low) (1.14.5) Requirement already satisfied: setuptools in c:\python\python36\lib\site-packages (from protobuf>= 3.4.0->TensorFlow) (39.0.1) Collecting markdown>=2.6.8 (from tensorboard<1.9.0,>=1.8.0->TensorFlow) Downloading https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543d bab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB) 100% |████████████████████████████████| 81kB 7.5MB/s Collecting bleach==1.5.0 (from tensorboard<1.9.0,>=1.8.0->TensorFlow) Downloading https://files.pythonhosted.org/packages/33/70/86c5fec937ea4964184d4d6c4f0b9551564f82 1e1c3575907639036d9b90/bleach-1.5.0-py2.py3-none-any.whl Collecting werkzeug>=0.11.10 (from tensorboard<1.9.0,>=1.8.0->TensorFlow) Downloading https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6 682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl (322kB) 100% |████████████████████████████████| 327kB 7.3MB/s Collecting html5lib==0.9999999 (from tensorboard<1.9.0,>=1.8.0->TensorFlow) Downloading https://files.pythonhosted.org/packages/ae/ae/bcb60402c60932b32dfaf19bb53870b29eda2c d17551ba5639219fb5ebf9/html5lib-0.9999999.tar.gz (889kB) 100% |████████████████████████████████| 890kB 6.8MB/s Installing collected packages: grpcio, protobuf, termcolor, gast, wheel, astor, markdown, html5lib , bleach, werkzeug, tensorboard, absl-py, TensorFlow Running setup.py install for termcolor ... done Running setup.py install for gast ... done Running setup.py install for html5lib ... done Running setup.py install for absl-py ... done Successfully installed TensorFlow-1.8.0 absl-py-0.2.2 astor-0.6.2 bleach-1.5.0 gast-0.2.0 grpcio-1 .12.1 html5lib-0.9999999 markdown-2.6.11 protobuf-3.6.0 tensorboard-1.8.0 termcolor-1.1.0 werkzeug -0.14.1 wheel-0.31.1
C:\CodeLab> |
pip install keras
C:\CodeLab>pip install keras Collecting keras Downloading https://files.pythonhosted.org/packages/68/12/4cabc5c01451eb3b413d19ea151f36e33026fc 0efb932bf51bcaf54acbf5/Keras-2.2.0-py2.py3-none-any.whl (300kB) 100% |████████████████████████████████| 307kB 3.4MB/s Requirement already satisfied: numpy>=1.9.1 in c:\python\python36\lib\site-packages (from keras) ( 1.14.5) Requirement already satisfied: scipy>=0.14 in c:\python\python36\lib\site-packages (from keras) (1 .1.0) Collecting h5py (from keras) Downloading https://files.pythonhosted.org/packages/12/6c/00c38c5ce9322f1cc421d93217c44739646a10 6c61859622eccc297a5c05/h5py-2.8.0-cp36-cp36m-win_amd64.whl (2.3MB) 100% |████████████████████████████████| 2.3MB 5.7MB/s Requirement already satisfied: six>=1.9.0 in c:\python\python36\lib\site-packages (from keras) (1. 11.0) Requirement already satisfied: pyyaml in c:\python\python36\lib\site-packages (from keras) (4.1) Collecting keras-applications==1.0.2 (from keras) Downloading https://files.pythonhosted.org/packages/e2/60/c557075e586e968d7a9c314aa38c236b37cb3e e6b37e8d57152b1a5e0b47/Keras_Applications-1.0.2-py2.py3-none-any.whl (43kB) 100% |████████████████████████████████| 51kB 7.3MB/s Collecting keras-preprocessing==1.0.1 (from keras) Downloading https://files.pythonhosted.org/packages/f8/33/275506afe1d96b221f66f95adba94d1b73f6b6 087cfb6132a5655b6fe338/Keras_Preprocessing-1.0.1-py2.py3-none-any.whl Installing collected packages: h5py, keras-applications, keras-preprocessing, keras Successfully installed h5py-2.8.0 keras-2.2.0 keras-applications-1.0.2 keras-preprocessing-1.0.1
C:\CodeLab>
|
'Development > Python' 카테고리의 다른 글
컴퓨터에서 시간 표현 방법 (0) | 2018.07.06 |
---|---|
Python(파이썬) 설치하기 (0) | 2018.07.05 |
Python 3.7.0 documentation (0) | 2018.07.03 |
키워드 인수(Named Parameter) (0) | 2018.07.03 |
install Seaborn (0) | 2018.07.02 |