Yes, you can. You need the cygwin version of python.

 

Janos

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of SANG
Junjun
Sent: Tuesday, July 08, 2008 9:21 PM
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] Can't use Python SDK in windows

 

Because Watcher.py calls os.fork which is not supported in windows.

 

 

Traceback (most recent call last):
  File "E:\cygwin\opt\tinyos-2.x\apps\DataCollection\Python\example.py",
line 26, in <module>
    m = CNetwork()
  File "E:\cygwin\opt\tinyos-2.x\apps\DataCollection\Python\example.py",
line 12, in __init__
    self.mif = MoteIF.MoteIF()
  File "/opt/tinyos-2.x/support/sdk/python/tinyos/message/MoteIF.py",
line 58, in __init__
  File "/opt/tinyos-2.x/support/sdk/python/tinyos/utils/Singleton.py",
line 106, in getInstance
  File "/opt/tinyos-2.x/support/sdk/python/tinyos/utils/Watcher.py",
line 53, in __init__
AttributeError: 'module' object has no attribute 'fork'

-- 
Best Regards,
SANG JUNJUN 

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to