Skip to content

ImportError: cannot import name discovery #129

@leArthurDent

Description

@leArthurDent

After installing the dependencies the command "python asynk.py" gives the following error:

Traceback (most recent call last):
  File "asynk.py", line 30, in <module>
    from   asynk_core       import Asynk, AsynkParserError
  File "/home/le_ArthurDent/bin/ASynK/asynk/asynk_core.py", line 40, in <module>
    from   sync             import Sync
  File "/home/le_ArthurDent/bin/ASynK/asynk/sync.py", line 30, in <module>
    from   pimdb_gc     import GCPIMDB
  File "/home/le_ArthurDent/bin/ASynK/asynk/pimdb_gc.py", line 28, in <module>
    from   apiclient import discovery
ImportError: cannot import name discovery

This can eassily be corrected by replacing "apiclient" with "googleapiclient" in file "asynk/pimdb_gc.py" on line 28. I am on openSUSE Tumbleweed with apiclient 1.0.3 and google-api-python-client 1.7.8.

I am not very familiar with python but as far as I can reconstruct from some research on the topic the module was originally named "apiclient" and is now "googleapiclient".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions