Python needs the directory of modules to be imported in its search path.
Thus, you should check that the directory of TOSSIM.py is in your
PYTHONPATH.
export PYTHONPATH=/path/to/TOSSIM.py:$PYTHONPATH
Regards
On Jul 2, 2008, at 10:58 AM, [EMAIL PROTECTED] wrote:
I have tried upgading my tinyos with the help of this site. and set
the path accordingly.
http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html
TOSROOT/opt/tinyos-2.xsame as in Cygwin
TOSDIR$TOSROOT/tossame as in Cygwin
CLASSPATHC:\tinyos\cygwin\opt\tinyos-2.x\support\sdk\java
\tinyos.jar;.$TOSROOT/support/sdk/java/tinyos.jar:.
MAKERULES$TOSROOT/support/make/Makerulessame as in Cygwin
PATH†/opt/msp430/bin:$PATHsame as in Cygwin
export PYTHONPATH=$TOSROOT/support/sdk/pytho
but i am not able to run command as described in the tutorial
from TOSSIM impòrt *
this line shows import error no module called TOSSIM.
Please help me to solve my problem.
--
Ankit Anand
IIT Kharagpur
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help