我正在尝试使用以下方法在Windows 10的Python 3.8上安装sklearn(scikit-learn):
pip install sklearn
Run Code Online (Sandbox Code Playgroud)
我也用过:
pip3 install sklearn
pip install scikit-learn
pip install -U scikit-learn
Run Code Online (Sandbox Code Playgroud)
以及:
pip install --only-binary :all: sklearn
Run Code Online (Sandbox Code Playgroud)
我也尝试过升级pip / setuptools。
有很多错误。其中,似乎相关的部分提到了Fortran:
Run Code Online (Sandbox Code Playgroud)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 …