question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sklearn.externals.joblib removed in 0.23

See original GitHub issue

Description:

If you installed by source please give us the git hash as well

git log | head -n 1 –>

  • DeepChem Version: 2.3.0
  • Platform: py36_0 (python 3.6)

I think sklearn.externals.joblib has been removed and it is giving an error

~/anaconda3/envs/caltech_gnn/lib/python3.6/site-packages/deepchem/utils/save.py in <module> 8 # TODO(rbharath): Use standard joblib once old-data has been regenerated. 9 import joblib —> 10 from sklearn.externals import joblib as old_joblib 11 import gzip 12 import json

ImportError: cannot import name ‘joblib’

Your code sample here

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rbharathcommented, Nov 29, 2020

@Khalimat Would it be feasible to use the nightly build for now? We’re very close to the new release but have a couple of final tests to add in before we can make the cut. It’ll probably be a week or two at the least. Sorry for the delay!

1reaction
nissy-devcommented, Jun 12, 2020

I think this issue is fixed, so please retry installing the following command

pip install tensorflow==1.14 (or pip install tensorflow-gpu==1.14 )
conda install -c rdkit -c conda-forge rdkit deepchem==2.3.0
Read more comments on GitHub >

github_iconTop Results From Across the Web

DeprecationWarning: sklearn.externals.joblib is ...
externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be ...
Read more >
ImportError: cannot import name 'joblib' from 'sklearn. ...
externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be ...
Read more >
Importerror: cannot import name joblib from sklearn.externals
Importerror: cannot import name joblib from sklearn.externals error occurs due to deprecation of sklearn.externals.joblib in version 0.21.
Read more >
sklearn.externals.joblib is deprecated in 0.21 and will be ...
一、错误在跑spark的时候,出现了一个警告,虽然没啥事,可是老是出现,也觉得挺烦的,所以就百度了下怎么解决。
Read more >
stderr
/opt/conda/lib/python3.6/site-packages/sklearn/externals/joblib/__init__.py:15: DeprecationWarning: ... is deprecated in 0.21 and will be removed in 0.23.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found