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 paddlehelix fails due to sklearn deprecation #295

Open
AndyLiu-121 opened this issue Jun 6, 2024 · 2 comments
Open

pip install paddlehelix fails due to sklearn deprecation #295

AndyLiu-121 opened this issue Jun 6, 2024 · 2 comments

Comments

@AndyLiu-121
Copy link

When I was trying to install paddlehelix by pip install paadlehelix, I encountered an error saying:

python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
The 'sklearn' PyPI package is deprecated, use 'scikit-learn'
rather than 'sklearn' for pip commands.

Can it be fixed?

@Jiao2023
Copy link

I'm having the same problem.

@jscgh
Copy link

jscgh commented Sep 27, 2024

There's a pull request to fix this. #283

In the mean time you can use
export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants