Jump to content

Tinkerforge Weather-station python script


Recommended Posts

Recently published instructions in a PC mag. pointed to http://tinyurl.com/mxw8omx. This download was to employ a completed script, to run the TF weatherstation i.e download and dump data to Drop Box. Sounded very useful indeed. Problem is the script will not run successfully in Gene the recommended compiler for this exercise.

Situation is: RPi "B" Raspibien, Gene running, file (downloaded unzipped as described above) First few lines of script read:

 

#!/usr/bin/env python

 

import pygame, csv,os

from pygame.locals import *

from datetime import datetime

import pytz

import upload

from Today import *

 

Result: Traceback (blah blah blah) Import error: No module named pytz.

program exited blah blah.

 

As one would have reasonable confidence that this script was tested before publication, one is somewhat startled by this result???

 

Any ideas?

 

 

Link zu diesem Kommentar
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...