Ich habe ein einfaches Python 3-Skript geschrieben, das die Google Tabellen-API verwendet. Es funktioniert auf einem System, das standardmäßig Python 3 (Arch) verwendet. Ich versuche, das gleiche Skript auf einem Ubuntu 14.04-System auszuführen, aber ich kann die apiclient-Bibliothek nicht laden. Ich installierte mit dem empfohlenen pip install --upgrade google-api-python-client
Aber ich bemerkte ich nur die Bibliothek in Python laden 2.Googleapiclient und python3
Hier ist, was ich beobachtet:
~ $ python
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from googleapiclient import discovery
>>> quit()
~ $ python3
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from googleapiclient import discovery
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'googleapiclient'
Jede Beratung?