【发布时间】:2011-01-17 07:29:49
【问题描述】:
我有一个调用一些 python 脚本的 bash shell 脚本。我正在使用 cygwin 运行 Windows,它在 /usr/bin/python 中有 python。我还安装了 python 和 numpy 作为 windows 包。当我从 cygwin 执行脚本时,我得到一个 ImportError - 没有名为 numpy 的模块。我尝试从 Windows shell 运行,但 bash 脚本没有运行。有任何想法吗?我的脚本在下面
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
谢谢
【问题讨论】: