ameet9257
Contributor

if you ever received this kind of error after installing the correct Python package then try running the below command. 

dbutils.library.restartPython()
Amit Prajapati