[Tinyos-help] Set path for TOSSIM
Matthias Woehrle
woehrle at tik.ee.ethz.ch
Fri Jul 4 01:15:36 PDT 2008
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, anand.ankit04 at gmail.com 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
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080704/3dcc4cf9/attachment-0001.htm
More information about the Tinyos-help
mailing list