我有一个bash shell脚本,它调用了一些python脚本。我正在用cygwin运行windows,它在/ usr/bin/python中有python。我也有python和numpy作为windows包安装。当我从cygwin执行脚本时,我得到一个ImportError - no module named numpy。我已经尝试从Windows外壳运行,但bash脚本无法运行。有任何想法吗?我的脚本如下如何与cygwin一起使用numpy
for target in $(ls large_t) ;
do
./emulate.py $target ; #
done | sort | gawk '{print $2,$3,$4,$5,$6 > $1}{print $1}' | sort | uniq > frames
#frames contains a list of filenames, each files name is the timestamp
rm -f video
touch video
# for each frame
for f in $(cat frames)
do
./make_target_ant.py $f
cat $f.bscan >> video
done
感谢
谢谢安德鲁,你是一个明星 – mikip 2010-02-16 09:18:56