Pythonによるテキストマイニング入門で使用しているモジュールを Windows 10 Pro にインストールしてみる

Pythonによるテキストマイニング入門で使用しているモジュールを Windows 10 Pro にインストールしてみる

 

環境はこちら

Windows 10 pro + VsCode + Python3 を使ってみる

Pythonによるテキストマイニング入門

で使用しているモジュールを Windows 10 Pro にインストールしてみる。

対象は2.4 テキストマイニングに役立つライブラリパッケージ

以下を順にインストールしてみる

Numpy

Scipy

Matplotlib

pandas

scikit-learn

StatsModels

gensim

 

PowerShellのコンソールを起動後

> chcp 65001

Active code page: 65001

 

> python -V

Python 3.6.4

 

> pip3 install Numpy

Collecting Numpy

Downloading numpy-1.14.1-cp36-none-win_amd64.whl (13.4MB)

100% |████████████████████████████████| 13.4MB 68kB/s

Installing collected packages: Numpy

Successfully installed Numpy-1.14.1

 

> pip3 install Scipy

Collecting Scipy

Downloading scipy-1.0.0-cp36-none-win_amd64.whl (30.8MB)

100% |████████████████████████████████| 30.8MB 31kB/s

Requirement already satisfied: numpy>=1.8.2 in /path/to/python\python36\lib\site-packages (from Scipy)

Installing collected packages: Scipy

Successfully installed Scipy-1.0.0

 

> pip3 install Matplotlib

Collecting Matplotlib

Downloading matplotlib-2.1.2-cp36-cp36m-win_amd64.whl (8.7MB)

100% |████████████████████████████████| 8.7MB 106kB/s

Collecting python-dateutil>=2.1 (from Matplotlib)

Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)

100% |████████████████████████████████| 194kB 771kB/s

Requirement already satisfied: six>=1.10 in /path/to/python\python36\lib\site-packages (from Matplotlib)

Requirement already satisfied: numpy>=1.7.1 in /path/to/python\python36\lib\site-packages (from Matplotlib)

Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 (from Matplotlib)

Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB)

100% |████████████████████████████████| 61kB 1.2MB/s

Collecting cycler>=0.10 (from Matplotlib)

Downloading cycler-0.10.0-py2.py3-none-any.whl

Collecting pytz (from Matplotlib)

Downloading pytz-2018.3-py2.py3-none-any.whl (509kB)

100% |████████████████████████████████| 512kB 733kB/s

Installing collected packages: python-dateutil, pyparsing, cycler, pytz, Matplotlib

Successfully installed Matplotlib-2.1.2 cycler-0.10.0 pyparsing-2.2.0 python-dateutil-2.6.1 pytz-2018.3

 

> pip3 install pandas

Collecting pandas

Downloading pandas-0.22.0-cp36-cp36m-win_amd64.whl (9.1MB)

100% |████████████████████████████████| 9.1MB 102kB/s

Requirement already satisfied: python-dateutil>=2 in /path/to/python\python36\lib\site-packages (from pandas)

Requirement already satisfied: pytz>=2011k in /path/to/python\python36\lib\site-packages (from pandas)

Requirement already satisfied: numpy>=1.9.0 in /path/to/python\python36\lib\site-packages (from pandas)

Requirement already satisfied: six>=1.5 in /path/to/python\python36\lib\site-packages (from python-dateutil>=2->pandas)

Installing collected packages: pandas

Successfully installed pandas-0.22.0

 

> pip3 install scikit-learn

Collecting scikit-learn

Downloading scikit_learn-0.19.1-cp36-cp36m-win_amd64.whl (4.3MB)

100% |████████████████████████████████| 4.4MB 188kB/s

Installing collected packages: scikit-learn

Successfully installed scikit-learn-0.19.1

 

> pip3 install StatsModels

Collecting StatsModels

Downloading statsmodels-0.8.0.tar.gz (9.5MB)

100% |████████████████████████████████| 9.5MB 96kB/s

Collecting patsy (from StatsModels)

Downloading patsy-0.5.0-py2.py3-none-any.whl (232kB)

100% |████████████████████████████████| 235kB 1.2MB/s

Requirement already satisfied: numpy>=1.4 in /path/to/python\python36\lib\site-packages (from patsy->StatsModels)

Requirement already satisfied: six in /path/to/python\python36\lib\site-packages (from patsy->StatsModels)

Installing collected packages: patsy, StatsModels

Running setup.py install for StatsModels ... done

Successfully installed StatsModels-0.8.0 patsy-0.5.0

 

> pip3 install gensim

Collecting gensim

Downloading gensim-3.4.0-cp36-cp36m-win_amd64.whl (22.5MB)

100% |████████████████████████████████| 22.5MB 41kB/s

Requirement already satisfied: six>=1.5.0 in /path/to/python\python36\lib\site-packages (from gensim)

Requirement already satisfied: numpy>=1.11.3 in /path/to/python\python36\lib\site-packages (from gensim)

Collecting smart-open>=1.2.1 (from gensim)

Downloading smart_open-1.5.6.tar.gz

Requirement already satisfied: scipy>=0.18.1 in /path/to/python\python36\lib\site-packages (from gensim)

Collecting boto>=2.32 (from smart-open>=1.2.1->gensim)

Downloading boto-2.48.0-py2.py3-none-any.whl (1.4MB)

100% |████████████████████████████████| 1.4MB 407kB/s

Collecting bz2file (from smart-open>=1.2.1->gensim)

Downloading bz2file-0.98.tar.gz

Collecting requests (from smart-open>=1.2.1->gensim)

Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)

100% |████████████████████████████████| 92kB 1.1MB/s

Collecting boto3 (from smart-open>=1.2.1->gensim)

Downloading boto3-1.6.3-py2.py3-none-any.whl (128kB)

100% |████████████████████████████████| 133kB 1.2MB/s

Collecting chardet<3.1.0,>=3.0.2 (from requests->smart-open>=1.2.1->gensim)

Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)

100% |████████████████████████████████| 143kB 913kB/s

Collecting certifi>=2017.4.17 (from requests->smart-open>=1.2.1->gensim)

Downloading certifi-2018.1.18-py2.py3-none-any.whl (151kB)

100% |████████████████████████████████| 153kB 880kB/s

Collecting idna<2.7,>=2.5 (from requests->smart-open>=1.2.1->gensim)

Downloading idna-2.6-py2.py3-none-any.whl (56kB)

100% |████████████████████████████████| 61kB 1.0MB/s

Collecting urllib3<1.23,>=1.21.1 (from requests->smart-open>=1.2.1->gensim)

Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)

100% |████████████████████████████████| 133kB 972kB/s

Collecting jmespath<1.0.0,>=0.7.1 (from boto3->smart-open>=1.2.1->gensim)

Downloading jmespath-0.9.3-py2.py3-none-any.whl

Collecting botocore<1.10.0,>=1.9.3 (from boto3->smart-open>=1.2.1->gensim)

Downloading botocore-1.9.3-py2.py3-none-any.whl (4.1MB)

100% |████████████████████████████████| 4.1MB 208kB/s

Collecting s3transfer<0.2.0,>=0.1.10 (from boto3->smart-open>=1.2.1->gensim)

Downloading s3transfer-0.1.13-py2.py3-none-any.whl (59kB)

100% |████████████████████████████████| 61kB 1.1MB/s

Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /path/to/python\python36\lib\site-packages (from botocore<1.10.0,>=1.9.3->boto3->smart-open>=1.2.1->gensim)

Collecting docutils>=0.10 (from botocore<1.10.0,>=1.9.3->boto3->smart-open>=1.2.1->gensim)

Downloading docutils-0.14-py3-none-any.whl (543kB)

100% |████████████████████████████████| 552kB 798kB/s

Installing collected packages: boto, bz2file, chardet, certifi, idna, urllib3, requests, jmespath, docutils, botocore, s3transfer, boto3, smart-open, gensim

Running setup.py install for bz2file ... done

Running setup.py install for smart-open ... done

Successfully installed boto-2.48.0 boto3-1.6.3 botocore-1.9.3 bz2file-0.98 certifi-2018.1.18 chardet-3.0.4 docutils-0.14 gensim-3.4.0 idna-2.6 jmespath-0.9.3 requests-2.18.4 s3transfer-0.1.13 smart-open-1.5.6 urllib3-1.22