Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Christian Ullrich Newsgroups: comp.lang.python Subject: Running latest 32-bit Python on 64-bit system Date: Fri, 13 Nov 2015 11:52:01 +0100 Lines: 23 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net w+iJkcEhcACqRdEo0zSadQZzk2iXoa8UirYv40ZLj54Hx6u0Q= Cancel-Lock: sha1:PMgiE1acAjoTNknmQMI6FmiMKCY= X-Mozilla-News-Host: news://news.individual.de:119 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 Xref: csiph.com comp.lang.python:98735 Hello, I have a problem with using the (otherwise nice) Python launcher. How can I get it to run the highest 32-bit Python on my 64-bit system? This is on Windows, but I think it applies to other OSes as well. My application runs (unmodified) with Python 3.[345], but only with the 32-bit version because it loads a DLL that has no 64-bit version available. I would like to run it on any system that has *any* suitable Python installed. However, with the shebang syntax supported by the launcher, I can only demand a 32-bit version if I also specify the Python minor version I want, and I don't necessarily know that in advance. I can code around that, of course, but I don't want to. If Python can select the 64-bit version to run by itself, it should also be able to for the 32-bit version, right? Thanks, -- Christian