Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install scikit-learn fails on python 2 #13860

Closed
ruoyu90 opened this issue May 10, 2019 · 2 comments · Fixed by #13861
Closed

pip install scikit-learn fails on python 2 #13860

ruoyu90 opened this issue May 10, 2019 · 2 comments · Fixed by #13861

Comments

@ruoyu90
Copy link

ruoyu90 commented May 10, 2019

Description

pip install scikit-learn fails on python 2

Steps/Code to Reproduce

pip install scikit-learn in a python 2 environment

Expected Results

install succeeds

Actual Results

RuntimeError: Scikit-learn requires Python 3.5 or later. The current Python version is 2.7.16rc1 installed in...

Versions

I expect a lower version to be installed since 0.21 is marked as python 3 only. However the command results in an attempt to install 0.21 and then failure.

@rth
Copy link
Member

rth commented May 10, 2019

Thanks for the report @ruoyu90 . Working on a fix in #13861.

Though even once it is fixed, making a new release will not resolve it for python2 users, we might need to remove the 0.20.0 release from PyPi and upload e.g. a 0.20.post0

@ruoyu90
Copy link
Author

ruoyu90 commented May 11, 2019

Thanks! Just verified it works now 👍

@ruoyu90 ruoyu90 closed this as completed May 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants