neuroquery / pubget

Collecting papers from PubMed Central and extracting text, metadata and stereotactic coordinates.
https://neuroquery.github.io/pubget/
MIT License
20 stars 12 forks source link

Getting error sklearn.externals.joblib' #16

Closed AtomicNess123 closed 1 year ago

AtomicNess123 commented 1 year ago

I am getting the error:

ModuleNotFoundError: No module named 'sklearn.externals.joblib'

When running

pubget download -q "fMRI[Title] AND (2019[PubDate] : 2019[PubDate])" pubget_data

How to fix this bug? Thanks!

jeromedockes commented 1 year ago

Hello, thank you for reporting this problem!

sklearn.externals.joblib does not exist anymore in recent versions of scikit-learn; could you try upgrading scikit-learn and joblib?

pip install -U scikit-learn joblib

Otherwise, could you please provide the full traceback (the complete error message) so that I know where the error arises?

thank you!