fasterius / VarClust

A Python package for clustering of single nucleotide variants from high-through seqencing data.
Other
5 stars 3 forks source link

ERROR: 'sklearn' PyPI package is deprecated, use 'scikit-learn' #5

Closed Ascalon98 closed 1 week ago

Ascalon98 commented 2 weeks ago

Hi! I am trying to install VarCrust with the command that is provided in the sofware description, but I am getting this error message:

"Collecting sklearn (from VarClust==0.2.4) Using cached sklearn-0.0.post12.tar.gz (2.6 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

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.

Here is how to fix this error in the main use cases:

Encountered error while generating package metadata.

See above for output."

I am not familiar with python. How can I solve this problem?

fasterius commented 2 weeks ago

Hi! Could you try it again? I have just updated the dependency to the non-deprecated 'scikit-learn' package.

Ascalon98 commented 1 week ago

Thank you! It worked.