Answers for "cannot import name 'joblib' from 'sklearn.externals' (/shared-libs/python3.7/py/lib/python3.7/site-packages/sklearn/externals/__init__.py)"

0

ImportError: cannot import name 'joblib' from 'sklearn.externals' (C:\Users\Maaz Bin Ahmed\anaconda3\lib\site-packages\sklearn\externals\__init__.py)

import joblib as joblib
Posted by: Guest on May-05-2021
0

cannot import name 'joblib' from 'sklearn.externals' (/shared-libs/python3.7/py/lib/python3.7/site-packages/sklearn/externals/__init__.py)

# from sklearn.externals import joblib it deprecated older version
# Directly import the joblib library, then it will work

import joblib
Posted by: Guest on October-11-2021

Code answers related to "cannot import name 'joblib' from 'sklearn.externals' (/shared-libs/python3.7/py/lib/python3.7/site-packages/sklearn/externals/__init__.py)"

Python Answers by Framework

Browse Popular Code Answers by Language