[Gdal-dev] import gdal, a installation problem

Ivan Lucena ILucena at clarku.edu
Tue Jun 27 13:22:52 EDT 2006


Didrik,

You suggestion is embarrassingly simple.

It works!!!!

C:\Data> pct2rgb.py
Usage: pct2rgb.py [-of format] [-b <band>] source_file dest_file
C:\Data>_

Thank you so very much

Ivan 

-----Original Message-----
From: gdal-dev-bounces at lists.maptools.org [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Didrik Pinte
Sent: 27 June 2006 12:12
To: gdal-dev at lists.maptools.org
Subject: Re: [Gdal-dev] import gdal, a installation problem

Le mardi 27 juin 2006 à 09:42 -0400, Ivan Lucena a écrit :

> 
> It is working fine, except that I can't do:
> 
> 	C:/Data> Python pct2rgb.py
> 
> I need to inform the full script path:
> 
> 	C:/Data> Python "C:\Program Files\Gdal-1.3.2\bin\pct2rgb.py"


when calling python from the command line, it's not the argument that
are "path completible"... 

It's the rigth way to do it.

If your python installation is correct, you must be able to do :

c:\Data>pct2rgb.py

or 

c:\Program Files\Gdal-1.3.2\bin>python pct2rgb.py

Didrik




More information about the Gdal-dev mailing list