os system command not found
Daniel da Silva
ddasilva at umd.edu
Wed Jan 14 15:30:19 CET 2009
On Jan 14, 5:25 am, codicedave <davide.pi... at gmail.com> wrote:
> Hi all!
> I installed a external program called infomap using the classical
> sudo make install
> and it works perfectly in Terminal (Os x) using both bash and tcsh
> admins-macbook-pro-2:~ unil$ infomap-build
> Usage: infomap-build [-w working_dir] [-p param_file]
> [-D var_1=val_1 ... -D var_N=val_N]
> (-s single_corpus_file | -m multi_file_list)
> but when I call it from python using os.system or subprocess.call I
> get the message "sh: infomap-build: command not found".
> Do you know why?
> Many thanks
Type "which infomap-build" from the command line to find out where
More information about the Python-list