Skip to content

Unable to install Sckikitt-learn version 1.0.2 in rocky linux 8 #28224

Answered by glemaitre
umarkhan99 asked this question in Q&A
Discussion options

You must be logged in to vote

I don't see which version of python you have but I see that pip tries to build from source instead of fetching a wheel from PyPI. I would think that your version of Python is too recent and there is no wheel available on. On PyPI, the wheel available are for Python 3.7, 3.8. 3.9, and 3.10.

You risk to have the same issue with NumPy. So I would recommend to create an environment with at most Python 3.10 if you intend to install scikit-learn without building from source.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@umarkhan99
Comment options

Answer selected by umarkhan99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants