I had a hard time installing scikit-learn and Gensim, which are essential for machine learning and natural language processing, with pip, so I will summarize how to install libraries that could not be installed with pip.
OS: Windows 7 64bit python:python 3.4.3 64bit
Run python on the command prompt and check the result
Example
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32
→ python3.4.3 64bit
Execute the following command
pip install wheel-0.24.0.tar.gz
I was allowed to reference Mastering pip and wheel on windows http://qiita.com/toruuetani/items/b0000e9f5c89a350d4f8
Unofficial Windows Binaries for Python Extension Packages http://www.lfd.uci.edu/~gohlke/pythonlibs/
Find the library you want to include from the page above and download the one that suits your environment
Example I downloaded "scikit_learn-0.16.1-cp34-none-win_amd64.whl" because the version of python is 3.4 series, 64bit. cp34 → Python version amd64 → Python bit number
scikit_learn-0.16.1-cp34-none-win_amd64.whl ↑python ↑bit
Place the downloaded whl in C: \ Python \ Scripts
At the command prompt:
cd C:\Python\Scripts
pip install example.whl
pip install scikit_learn-0.16.1-cp34-none-win_amd64.whl
I think I was able to introduce it with this By default, python is installed in 32bit, which is a stumbling block.
Recommended Posts