I also ran into the above problem with phyton 3 when setting up python for machine learning.
I have completed the following steps: -
Install python-2.7.13.msi
β’ set PATH = C: \ Python27
β’ set PATH = C: \ Python27 \ Scripts
Go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
Downloaded: - - numpy-1.13.1 + mkl-cp27-cp27m-win32.whl
--scipy-0.18.0-cp27-cp27m-win32.whl
Numpy installation: pip install numpy-1.13.1 + mkl-cp27-cp27m-win32.whl
Install scipy: pip install scipy-0.18.0-cp27-cp27m-win32.whl
You can check the correctness using below cmds: -
>>> import numpy >>> import scipy >>> import sklearn >>> numpy.version.version '1.13.1' >>> scipy.version.version '0.19.1' >>>
Vikram S Sep 27 '17 at 5:58 on 2017-09-27 05:58
source share