3

First, I downloaded the numpy+nlk whl file here and did

python3 -m pip install numpy‑1.11.3+mkl‑cp36‑none-any.whl 

I renamed thanks to this tip: filename.whl is not supported wheel on this platform

But when I do

python3 -m pip install sklearn

I get Original error was: cannot import name 'multiarray'

I've tried unistalling and reinstalling numpy, but I have no idea how to fix this.

iehrlich
  • 3,572
  • 4
  • 34
  • 43
Kat
  • 475
  • 1
  • 6
  • 21
  • Can't you simply install numpy with `python3 -m pip install numpy`? Or, if `sklearn` has its dependencies set correctly, only install sklearn, and it should automatically install numpy as well. –  Jun 20 '17 at 20:06
  • it says requirement already satisfied when I install numpy and if i uninstall it i can't install sklearn – Kat Jun 20 '17 at 20:09
  • Basic troubleshooting first then: can you `import numpy` if your run Python? –  Jun 21 '17 at 06:39

2 Answers2

2

I just uploaded the windows wheels for scikit-learn 0.18.2 and Python 3.6 to PyPi: https://pypi.python.org/pypi/scikit-learn/0.18.2 Can you try again and give the full traceback if that still does not work?

ogrisel
  • 39,309
  • 12
  • 116
  • 125
1

If you have installed pip then follow the given steps:

  1. upgrade pip to the latest version
  2. install
pip install numpy scipy scikit-learn  
pip install sklearn
Jérémie Bertrand
  • 3,025
  • 3
  • 44
  • 53