[Tinyos-help] Python problem on Mac OSX can't find subprocess module

2007-10-08 Thread Peizhao Hu
Hi when I try to use the tinyos command tos-storage-stm25p in command line, I got the following error: Traceback (most recent call last): File /sw/bin/tos-storage-stm25p, line 51, in ? from subprocess import Popen, PIPE ImportError: No module named subprocess I found the subprocess.py

Re: [Tinyos-help] Python problem on Mac OSX can't find subprocess module

2007-10-08 Thread Peizhao Hu
I found the problem myself. to use subprocess module, you will need to have = python2.4 to verify your python. 1. open a terminal 2. run python 3. run import subprocess, if you have python installed properly you shouldn't see any error message. in my case, I have python2.4 and python2.5