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 to comment
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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...