Friday, 5 March 2021

cannot import name 'delayed' from 'sklearn.utils.fixes' - Google CoLab

 For Below Error 

Shows "ImportError: cannot import name 'Imputer' from 'sklearn.preprocessing' (/home/codeknight13/anaconda3/lib/python3.7/site-packages/sklearn/preprocessing/__init__.py)"

Sometime After PIP also doesnot work.

Fix : Actually the fix is very Simple. After every install we need to restart the Google Runtime.



No comments:

Post a Comment

  SyntaxError : (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape Solution:...