os system command not found
davide.picca at gmail.com
Wed Jan 14 14:52:21 CET 2009
On 14 Gen, 13:16, Steven D'Aprano <st... at REMOVE-THIS-
> 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.
in infocmp infotocap installer
indent infokey install instmodsh
indxbib infomap-build install-info instruments
info infomap-install install_name_tool
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)
I am not able to figure out why..
More information about the Python-list