[MS4W-Users] Issue regarding ticket #231

Niroshan Sanjaya nsanj88 at gmail.com
Wed Sep 4 04:46:15 EDT 2019


Hello there,

I would like to inform you that I have the same situation as described in
#231 ticket.
Even we run the setenv.bat we cannot import gdal from python CMD.

Also I have edited the setenv.bat and tried, what has done is;

added the following line;

C:\ms4w\gdalbindings\python\gdal\osgeo

it also did not work.

So finally osgeo folder has been copied to the site-packages directory from
C:\ms4w\gdalbindings\python\gdal\osgeo.

After that we can import gdal from both python cmd and apache cgi-bin.
We don't need a osgeo folder inside cgi-bin ( MS4W 4.0.1 version) when you
have a osgeo directory
in site-packages. It solved the both issues.

As per the above report it seems it need to be fixed, otherwise we cannot
use python inside the ms4w. Also we have many osgeo directories in several
locations.

Best
Niro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/pipermail/ms4w-users/attachments/20190904/88178280/attachment.html>


More information about the MS4W-Users mailing list