Skip to content

AttributeError: module 'googleapiclient' has no attribute '__version__' #870

@davidstrouk

Description

@davidstrouk

When importing new version of google-api-python-client
from apiclient import discovery
i'm getting the error
AttributeError: module 'googleapiclient' has no attribute '__version__'

__version__ = googleapiclient.__version__

i guess this happens since you have removed __version__ var from googleapiclient/__init__.py

f706cfd#diff-b926d296d4c856bcbf877809e4523562L15

can you please fix? @busunkim96 @mik-laj @crwilcox

Traceback:

  File "/usr/local/lib/python3.7/site-packages/apiclient/__init__.py", line 22, in <module>
    __version__ = googleapiclient.__version__
AttributeError: module 'googleapiclient' has no attribute '__version__'

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions