I'm trying to install sklearn (scikit-learn) on Python 3.8 on Windows 10 using the following:
pip install sklearn
I've also used:
pip3 install sklearn
pip install scikit-learn
pip install -U scikit-learn
As well as:
pip install --only-binary :all: sklearn
I've also tried upgrading pip/setuptools.
There is a long block of errors; among them, the portion which seems to be relevant mentions Fortran:
customize GnuFCompiler Could not locate executable g77 Could not locate executable f77 customize IntelVisualFCompiler Could not locate executable ifort Could not locate executable ifl customize AbsoftFCompiler Could not locate executable f90 customize CompaqVisualFCompiler Could not locate executable DF customize IntelItaniumVisualFCompiler Could not locate executable efl customize Gnu95FCompiler Could not locate executable gfortran Could not locate executable f95 customize G95FCompiler Could not locate executable g95 customize IntelEM64VisualFCompiler customize IntelEM64TFCompiler Could not locate executable efort Could not locate executable efc customize PGroupFlangCompiler Could not locate executable flang don't know how to compile Fortran code on platform 'nt' NOT AVAILABLE
Another part of the error:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils;
I'm just wondering if this is because of the newness of 3.8? Is there a workaround anyone is aware of?
It seems to revolve around NumPy. I've uninstalled that package and reinstalled it.