Hallo zusammen,
der Titel beschriebt eig. was ich machen möchte.
Sensor auslesen ist kein problem, ich möchte jetzt aber meine Messdaten in bestimmten Intervallen an eine Google Tabelle senden.
Dazu hab ich mir das Tutorial angesehen. Will ich jetzt das loggen beginnen bekomme ich die Fehlermeldung
Bin ratlos woran das liegen kann, in anderen Foren wurde immer wider über ähnliche Problemfälle gesprochen, konkrete Lösungen habe ich nicht gefunden.
Python
pi@raspberrypi:~ $ cd Adafruit_Python_DHT
pi@raspberrypi:~/Adafruit_Python_DHT $ cd examples
pi@raspberrypi:~/Adafruit_Python_DHT/examples $ sudo ./google_spreadsheet.py
Traceback (most recent call last):
File "./google_spreadsheet.py", line 43, in <module>
from oauth2client.service_account import ServiceAccountCredentials
File "/usr/local/lib/python2.7/dist-packages/oauth2client/service_account.py", line 26, in <module>
from oauth2client import crypt
File "/usr/local/lib/python2.7/dist-packages/oauth2client/crypt.py", line 23, in <module>
from oauth2client import _pure_python_crypt
File "/usr/local/lib/python2.7/dist-packages/oauth2client/_pure_python_crypt.py", line 24, in <module>
from pyasn1_modules.rfc2459 import Certificate
File "/usr/local/lib/python2.7/dist-packages/pyasn1_modules/rfc2459.py", line 20, in <module>
from pyasn1.type import opentype
ImportError: cannot import name opentype
Alles anzeigen