Skip to content

try to downgrade the sklearn version and rise a strange error #19699

Answered by lesteve
billMuxing asked this question in Q&A
Discussion options

You must be logged in to vote

I think it is unlikely that this is a problem with scikit-learn. I feel this is more a general "how do I get out of weird issues when installing something with Python" question or maybe an installation question for https://github.com/Shamir-Lab/PlasClass (it that is the PlasClass package you are trying to use).

As a general recommendation it is a very bad idea to mix conda and pip for the same package. This can happen without realising, e.g. conda install scikit-learn + pip install PassClass will replace a conda-installed scikit-learn with a pip-installed one and weird things can happen. This is because PassClass insists on very specific version of scikit-learn (also numpy and scipy) in its

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lesteve
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #19689 on March 17, 2021 08:46.