<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym18_1_1458666323705_98297"><span>Benjamin:</span></div><div><span>Where should this DLL be placed?</span></div><div id="yui_3_16_0_ym18_1_1458666323705_99420"><span id="yui_3_16_0_ym18_1_1458666323705_99419">I have tried the obvious locations...</span></div><div dir="ltr"><span>In fact, my sample WSGI file lists the sys.path and other entries as below. Please advise.</span></div><div dir="ltr"><span>With Regards, Ranga</span></div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99422"><span><br></span></div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99425"><span id="yui_3_16_0_ym18_1_1458666323705_99424">-------------------------</span></div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class="">sys.platform = 'win32'</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class="">sys.version = '3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)]'</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class="">sys.prefix = 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35'</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class="">sys.path = </div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class="">C:\Users\myself\AppData\Local\Programs\Python\Python35\lib\site-packages\openslide_python-1.1.0-py3.5-win-amd64.egg--</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class=""> C:\Users\myself\AppData\Local\Programs\Python\Python35\python35.zip--</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class=""> C:\Users\myself\AppData\Local\Programs\Python\Python35\Lib--</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class=""> C:\Users\myself\AppData\Local\Programs\Python\Python35\DLLs--</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class=""> C:\Apache24\bin--</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class=""> C:\Users\myself\AppData\Local\Programs\Python\Python35--</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class=""> C:\Users\myself\AppData\Local\Programs\Python\Python35\lib\site-packages--</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class=""> C:/Apache24/htdocs/openslide</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class="">sys.modules = </div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428"></div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99428" class="">sys.modules = {'builtins': <module 'builtins' (built-in)>, '_warnings': <module '_warnings' (built-in)>, 'types': <module 'types' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\types.py'>, '_locale': <module '_locale' (built-in)>, 'encodings.mbcs': <module 'encodings.mbcs' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\encodings\\mbcs.py'>, 'os.path': <module 'ntpath' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\ntpath.py'>, 'genericpath': <module 'genericpath' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\genericpath.py'>, 'sys': <module 'sys' (built-in)>, '_mod_wsgi_ba6c502ca1b41cc36d10426b0c51aa8b': <module '_mod_wsgi_ba6c502ca1b41cc36d10426b0c51aa8b' from 'C:/Apache24/htdocs/openslide/wsgi_handler.wsgi'>, '_weakrefset': <module '_weakrefset' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\_weakrefset.py'>, 'apache': <module 'apache'>, 're': <module 're' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\re.py'>, 'sysconfig': <module 'sysconfig' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\sysconfig.py'>, '_operator': <module '_operator' (built-in)>, '_bootlocale': <module '_bootlocale' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\_bootlocale.py'>, 'collections': <module 'collections' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\collections\\__init__.py'>, '_frozen_importlib_external': <module '_frozen_importlib_external' (frozen)>, 'site': <module 'site' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\site.py'>, 'encodings': <module 'encodings' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\encodings\\__init__.py'>, 'encodings.cp1252': <module 'encodings.cp1252' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\encodings\\cp1252.py'>, 'sre_constants': <module 'sre_constants' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\sre_constants.py'>, 'token': <module 'token' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\token.py'>, 'io': <module 'io' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\io.py'>, 'codecs': <module 'codecs' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\codecs.py'>, 'operator': <module 'operator' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\operator.py'>, '_io': <module 'io' (built-in)>, 'tokenize': <module 'tokenize' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\tokenize.py'>, 'marshal': <module 'marshal' (built-in)>, 'mod_wsgi': <module 'mod_wsgi'>, 'itertools': <module 'itertools' (built-in)>, '_codecs': <module '_codecs' (built-in)>, '_sre': <module '_sre' (built-in)>, 'os': <module 'os' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\os.py'>, 'nt': <module 'nt' (built-in)>, '_sitebuiltins': <module '_sitebuiltins' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\_sitebuiltins.py'>, 'weakref': <module 'weakref' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\weakref.py'>, 'ntpath': <module 'ntpath' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\ntpath.py'>, 'traceback': <module 'traceback' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\traceback.py'>, '_frozen_importlib': <module '_frozen_importlib' (frozen)>, 'sre_compile': <module 'sre_compile' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\sre_compile.py'>, '_signal': <module '_signal' (built-in)>, '_thread': <module '_thread' (built-in)>, '__main__': <module '__main__' (built-in)>, 'collections.abc': <module 'collections.abc' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\collections\\abc.py'>, 'encodings.latin_1': <module 'encodings.latin_1' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\encodings\\latin_1.py'>, 'encodings.aliases': <module 'encodings.aliases' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\encodings\\aliases.py'>, '_collections_abc': <module '_collections_abc' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\_collections_abc.py'>, 'enum': <module 'enum' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\enum.py'>, 'encodings.ascii': <module 'encodings.ascii' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\encodings\\ascii.py'>, 'encodings.utf_8': <module 'encodings.utf_8' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\encodings\\utf_8.py'>, 'errno': <module 'errno' (built-in)>, '_stat': <module '_stat' (built-in)>, '_collections': <module '_collections' (built-in)>, 'stat': <module 'stat' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\stat.py'>, 'functools': <module 'functools' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\functools.py'>, 'abc': <module 'abc' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\abc.py'>, 'linecache': <module 'linecache' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\linecache.py'>, 'winreg': <module 'winreg' (built-in)>, 'keyword': <module 'keyword' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\keyword.py'>, '_functools': <module '_functools' (built-in)>, 'heapq': <module 'heapq' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\heapq.py'>, '_heapq': <module '_heapq' (built-in)>, 'signal': <module 'signal' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\signal.py'>, 'zipimport': <module 'zipimport' (built-in)>, 'time': <module 'time' (built-in)>, 'threading': <module 'threading' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\threading.py'>, '_imp': <module '_imp' (built-in)>, 'reprlib': <module 'reprlib' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\reprlib.py'>, '_weakref': <module '_weakref' (built-in)>, 'sre_parse': <module 'sre_parse' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\sre_parse.py'>, 'copyreg': <module 'copyreg' from 'C:\\Users\\myself\\AppData\\Local\\Programs\\Python\\Python35\\Lib\\copyreg.py'>}</div><div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_99447" class=""><br id="yui_3_16_0_ym18_1_1458666323705_99449" class=""></div><div dir="ltr"><span>-------------------------</span></div><div dir="ltr"><br></div><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym18_1_1458666323705_98262" style="display: block;"> <div style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym18_1_1458666323705_98261"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym18_1_1458666323705_98260"> <div dir="ltr" id="yui_3_16_0_ym18_1_1458666323705_98259"> <font size="2" face="Arial" id="yui_3_16_0_ym18_1_1458666323705_99695"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Benjamin Gilbert via openslide-users <openslide-users@lists.andrew.cmu.edu><br> <b><span style="font-weight: bold;">To:</span></b> openslide-users@lists.andrew.cmu.edu <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, March 23, 2016 1:09 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Issues Running Deepzoom-server.py on Apache (Windows)<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym18_1_1458666323705_98296"><br>On Tue, Mar 22, 2016 at 07:10:35AM +0000, Ranga Raj via openslide-users wrote:<br clear="none">> _lib = cdll.LoadLibrary('libopenslide-0.dll')<br clear="none">> OSError: [WinError 193] %1 is not a valid Win32 application<br clear="none"><br clear="none">It appears that OpenSlide Python can't load the OpenSlide DLL. Verify that<br clear="none">OpenSlide (32-bit or 64-bit, as appropriate) is in the DLL search path.<br clear="none"><br clear="none">--Benjamin Gilbert<div class="yqt3752467874" id="yqtfd90654"><br clear="none">_______________________________________________<br clear="none">openslide-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:openslide-users@lists.andrew.cmu.edu" href="mailto:openslide-users@lists.andrew.cmu.edu">openslide-users@lists.andrew.cmu.edu</a><br clear="none"><a shape="rect" href="https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users" target="_blank">https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users</a><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>