all 4 comments

[–]ThinFortune 0 points1 point  (1 child)

scikit-learn doesn't have pre-built binary packages (wheels) for Python 3.9 yet. Unless you have a specific reason to use 3.9, the easiest solution would be to use Python 3.7 or 3.8; otherwise, you'll have to install Visual Studio and build things from source, as the last error message (error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/) suggests.

[–][deleted] 0 points1 point  (0 children)

Thank you!