[问题] Makefile using Python

楼主: dreler1 (....)   2015-11-23 22:33:35
makefile 在这边
https://gist.github.com/anonymous/70598c01176435fb4819
https://github.com/barronh/geos2cmaq, 我根据这个下去做
如果我把testrun放到geos2cmaq下面
或是把PYTHONPATH的路径改到
/usr/bin/python
error message:
rm -rf ./test
mkdir -p test; python -m geos2cmaq -t tracerinfo.dat -s smv2.log -m
./ -c cb05cl_ae6_aq ./test
/usr/bin/python: No module named geos2cmaq
make: *** [src] Error 1
如果我把 geos2cmaq放到 testrun下面
error message
rm -rf ./test
mkdir -p test; python -m geos2cmaq -t tracerinfo.dat -s smv2.log -m
./ -c cb05cl_ae6_aq ./test
/usr/bin/python: geos2cmaq is a package and cannot be directly executed
make: *** [src] Error 1
我如果直接在Python下面可以 import geos2cmaq
有没有什么建议?
谢谢

Links booklink

Contact Us: admin [ a t ] ucptt.com