Search code examples
pythongoogle-analyticsdatabricksazure-databricks

module 'googleapiclient' has no attribute '__version__'


I have seen some similar issues but they seemed to be mostly environment related. enter image description here

I am using databricks and suddenly this error came up today(google-api-python-client). I haven't changed anything so I find it really confusing. Re-install and creating another cluster didn't help.

Thank you for any advice!


Solution

  • To resolve this issue "module 'googleapiclient' has no attribute '_version__' ", make sure you have installed or updated the Google Client Library.

    %sh pip install --upgrade google-api-python-client
    

    enter image description here