Failed to install Statsmodels ... python

I am using 32-bit cmd, 64-bit windows, python 2.7

when I type pip install statsmodels

I get the following error for some scipy module ...

Failed building wheel for Scipy Failed cleaning build dir for scipy

enter image description here

+4
source share
5 answers

install numpy

pip install numpy

If you encounter installation problems for numpy, install the pre-installed Windows installers from http://www.lfd.uci.edu/~gohlke/pythonlibs/ for your python version (the python version is different from the Windows version).

numpy 32-bit: numpy-1.11.1 + mkl-cp27-cp27m-win32.whl

numpy 64-bit: numpy-1.11.1 + mkl-cp27-cp27m-win_amd64.whl

V++ 9.0, , , Microsoft Visual ++ 9.0. http://aka.ms/vcpython27

Windows http://www.lfd.uci.edu/~gohlke/pythonlibs/ python ( python Windows).

Scipy 32-bit: scipy-0.18.0-cp27-cp27m-win32.whl

Scipy 64-bit: scipy-0.18.0-cp27-cp27m-win_amd64.whl

, whl , pip python -m pip install --upgrade pip scipy

pip install scipy

pip install statsmodels

+5

python Windows C/++/Fortran/... conda. conda MiniConda Anaconda continuum .

python Windows - - Windows Christoph Gohlke.

, Python anaconda. Anaconda Nump, Scipy, Matplotlib,... statsmodels (. , anaconda).

+5

cmd.exe, .

pip install statsmodels==0.6.0

statsmodels Python 2.7 Windows

+3

, , . , git:

git clone git://github.com/statsmodels/statsmodels.git

0

, pip. , , :

pip --version

statsmodels cmd.exe, , python python, " " :

pip install statsmodels==0.9.0
0

Source: https://habr.com/ru/post/1650318/


All Articles