<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Tom, <div class=""><br class=""></div><div class="">Yes this will help. Thanks! So I got my python 2.7.13 installed in C:\Python27\Python that should do.</div><div class=""><br class=""></div><div class="">About the mod_wsgi: yes if considered this and will try to manage it. Running with python 2.7 + mod_wsgi for Apache conf. turns out to be very tricky (till impossible) as told on: <a href="https://github.com/GrahamDumpleton/mod_wsgi/blob/master/win32/README.rst" class="">https://github.com/GrahamDumpleton/mod_wsgi/blob/master/win32/README.rst</a> </div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" class=""><span style="font-size: 12px;" class="">‚Python 2.7 is compiled with VC9</span></font></span><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" class=""><span style="caret-color: rgb(36, 41, 46); font-size: 12px;" class="">‘</span></font></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" class=""><span style="caret-color: rgb(36, 41, 46); font-size: 12px;" class=""><br class=""></span></font></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" class=""><span style="font-size: 12px;" class="">"</span></font></span><span style="font-size: 12px; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class="">The problem is that Apache Lounge, whose Apache binaries have been used up until this point, has stopped making available versions of Apache compiled with a VC9 compiler. </span></div><div class=""><span style="font-size: 12px; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class="">This means that if you hadn't managed to download a Win32 VC9 version of Apache at some time in the past, you technically can't use mod_wsgi on Windows with Python 2.6 or Python 2.7 any more as you can't get the right version of an Apache binary</span><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" style="font-size: 12px;" class="">“</font></div><div class=""><font size="2" class=""><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class="">'</span><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class="">The actual mod_wsgi binaries that are made available are:</span></font></div><div class=""><ul style="box-sizing: border-box; margin-bottom: 16px; margin-top: 0px; padding-left: 2em; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class=""><li style="box-sizing: border-box; margin-top: 0.25em;" class=""><span style="font-size: 11px;" class="">Apache22-win32-VC9/modules/mod_wsgi-py27-VC9.so</span></li></ul><div class=""><ul style="box-sizing: border-box; margin-bottom: 16px; margin-top: 0px; padding-left: 2em; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class=""><li style="box-sizing: border-box; margin-top: 0.25em;" class=""><span style="font-size: 11px;" class="">Apache24-win32-VC9/modules/mod_wsgi-py27-VC9.so</span></li></ul><div class=""><span style="font-size: 11px;" class=""><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class="">Those labelled with </span><code style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; background-color: rgba(27, 31, 35, 0.0470588); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; margin: 0px; padding: 0.2em 0.4em; caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46);" class="">Apache22-win32-VC9</code><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class=""> should be used with an Apache 2.2 Win32 VC9 version of Apache. Alas Apache Lounge no longer makes such binaries available any more. </span></span></div><div class=""><span style="font-size: 11px;" class=""><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class="">If you don't already have an older version of Apache which has been compiled with the Win32 VC9 compiler you are out of luck.</span></span><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" class=""><span style="caret-color: rgb(36, 41, 46); font-size: 11px;" class="">’</span></font></div></div></div><div class=""><span style="font-size: 11px;" class=""><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255);" class=""><br class=""></span></span></div><div class=""><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255); font-size: 12px;" class="">"Note that Apache Lounge never made available any Win64 VC9 binaries for Apache 2.4. </span></div><div class=""><span style="caret-color: rgb(36, 41, 46); color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; background-color: rgb(255, 255, 255); font-size: 12px;" class="">This means that technically there is no combination available for correctly running mod_wsgi with a Win64 VC9 version of Python 2.6 or 2.7.</span><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" class=""><span style="caret-color: rgb(36, 41, 46); font-size: 12px;" class="">“</span></font></div><div class=""><br class=""></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class="">At this point I’m not sure weather I can go with a pip install mod_wsgi or if that turns out to fail? Which mod_wsgi will it generate ? Depense this on the python version I’ll use for pip command right ?</span></font></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class="">So I’d go just with python 3.4 the whole lot as this is compiled with VC10 and there are fitting apache version available right ?</span></font></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class="">Thank a lot for your response this will help me a lot.</span></font></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#24292e" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class="">Tim<br class=""></span></font><div><br class=""><blockquote type="cite" class=""><div class="">Am 18.11.2018 um 14:53 schrieb Tom Kralidis <<a href="mailto:tom.kralidis@gmail.com" class="">tom.kralidis@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Tim:<br class=""><br class="">On Sun, Nov 18, 2018 at 6:34 AM Tim Wanner <<a href="mailto:tim_wanner@web.de" class="">tim_wanner@web.de</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">Hello Mailing List,<br class=""><br class="">this might be a 'beginner' question, but I couldn’t find a right description browsing the web and wanted to get this right in my Thesis.<br class=""><br class="">As the pycsw doc tell’s you’ve got to change line 1 of csw.py into : #!/python27/python -u, bevor installation of pycsw on windows and running it on there.<br class=""><br class="">Is this pointing to a UNIX (‚Ubuntu‘) directory somewhere external based to config the CGI handler and not to the Python version installed on the local windows computer ? (Win directory should be C:/python27/python.exe)<br class=""></blockquote><br class="">As per <a href="http://docs.pycsw.org/en/stable/installation.html#running-on-windows" class="">http://docs.pycsw.org/en/stable/installation.html#running-on-windows</a> ,<br class="">the example assumes you have Python in \Python27\python .  The drive letter<br class="">would be required if you are running if Python and your Python CGI script are<br class="">on different paths.  Also note the -u flag for Windows environments<br class="">(<a href="https://docs.python.org/3.3/using/cmdline.html#cmdoption-u" class="">https://docs.python.org/3.3/using/cmdline.html#cmdoption-u</a>)<br class=""><br class="">Having said this, have you considered running Python on mod_wsgi instead<br class="">of CGI?  Many/most Python apps benefit from using mod_wsgi as a long<br class="">running process for performance.<br class=""><br class="">Hope this helps.<br class=""><br class="">..Tom<br class=""><br class=""><br class=""><blockquote type="cite" class="">Or is this just a expression form where under windows apache searches for the python dir. self-sufficient where python is stored for running the CGI Wrapper ?<br class=""><br class="">I would be pleased about a short background explanation.<br class=""><br class="">Thanks for your response<br class="">Best Regards<br class=""><br class="">Tim<br class="">_______________________________________________<br class="">pycsw-devel mailing list<br class=""><a href="mailto:pycsw-devel@lists.osgeo.org" class="">pycsw-devel@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/pycsw-devel<br class=""></blockquote></div></div></blockquote></div><br class=""></div></body></html>