On 14 Gen, 13:16, Steven D'Aprano <st...@remove-this-
cybersource.com.au> wrote:
> On Wed, 14 Jan 2009 02:25:52 -0800, codicedave wrote:
> > Hi all!
> > I installed a external program called infomap using the classical
> > procedure
>
> > ./configure
> > make
> > sudo make install
>
> >  and it works perfectly in Terminal (Os x) using both bash and tcsh
> > shell
>
> What happens when you call it using the sh shell (which is not
> necessarily aliased to bash)?
>
> [...]
>
> >  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?
>
> Possibly sh uses a different path to bash and can't find infomap-build.
>
> --
> Steven

in                 infocmp            infotocap          installer
indent             infokey            install            instmodsh
indxbib            infomap-build      install-info       instruments
info               infomap-install    install_name_tool
sh-3.2$ 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)
       <model_tag>

sh-3.2$

I am not able to figure out why..

any idea?

Thanks
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to