[Tinyos-help] ImportError: No module named TOSSIM
Βάσω
vasoula_karioti at yahoo.gr
Wed May 2 04:33:18 PDT 2007
Hello!
I was going through Lesson 11: simulation with TOSSIM too, and I get this:
$ python
Python 2.3.4 (#1, Jun 13 2004, 11:21:03)
[GCC 3.3.1 (cygming special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from TOSSIM import*
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named TOSSIM
>>> t=TOSSIM([])
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'TOSSIM' is not defined
when I fire up python.
make micaz sim still ends up with a lot of errors, while just make micaz gives this:
$ make micaz
mkdir -p build/micaz
compiling RadioCountToLedsAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -fnesc-dump=wiring -
fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, comp
onents)' -fnesc-dumpfile=build/micaz/wiring-check.xml RadioCountToLedsAppC.nc -l
m
compiled RadioCountToLedsAppC to build/micaz/main.exe
9762 bytes in ROM
236 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
writing TOS image
What does it mean?What could be wrong? I am using tinyos-2.x, cygwin on xp windows, python 2.3.4 and
"tos-check-env" ends with errors but all I get is a warning about my graphviz version
needing an update.
I am really looking forward for help. Thank you.
Vasoula
---------------------------------
Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070502/7a2c34ce/attachment.htm
More information about the Tinyos-help
mailing list