PaddlePaddle / PaddleHelix

Bio-Computing Platform Featuring Large-Scale Representation Learning and Multi-Task Deep Learning “螺旋桨”生物计算工具集
Other
982 stars 221 forks source link

pip install paddlehelix fails due to sklearn deprecation #295

Open AndyLiu-121 opened 3 months ago

AndyLiu-121 commented 3 months ago

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 commented 2 months ago

I'm having the same problem.

jscgh commented 3 days ago

There's a pull request to fix this. https://github.com/PaddlePaddle/PaddleHelix/pull/283

In the mean time you can use export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True