Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98891

Re: Running latest 32-bit Python on 64-bit system

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Zachary Ware <zachary.ware+pylist@gmail.com>
Newsgroups comp.lang.python
Subject Re: Running latest 32-bit Python on 64-bit system
Date Mon, 16 Nov 2015 10:42:29 -0600
Lines 29
Sender zachary.ware@gmail.com
Message-ID <mailman.368.1447692171.16136.python-list@python.org> (permalink)
References <daltmhFas7qU1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de +9NVQR0tdEWaIF0AQZ8XBA5CVZDQkbUIg0bGZk/wvo4Q==
Return-Path <zachary.ware@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'installed.': 0.05; 'closest': 0.09; 'interpreter,': 0.09; 'python': 0.10; 'syntax': 0.13; 'applies': 0.15; '*any*': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:bit': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; 'runs': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'to:name:python-list@python.org': 0.20; 'do.': 0.22; '64-bit': 0.22; 'minor': 0.22; 'am,': 0.23; 'select': 0.23; 'seems': 0.23; 'advance.': 0.23; 'header:In-Reply- To:1': 0.24; 'supported': 0.27; 'fri,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'dll': 0.27; 'specify': 0.27; '13,': 0.29; '32-bit': 0.29; 'itself,': 0.29; 'loads': 0.29; 'system?': 0.29; 'windows,': 0.29; 'code': 0.30; 'version,': 0.30; 'run': 0.33; 'problem': 0.33; 'machine.': 0.33; 'raising': 0.33; 'right?': 0.33; 'that,': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'nov': 0.35; 'path': 0.35; 'but': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'available.': 0.37; 'version': 0.38; 'received:209': 0.38; 'christian': 0.38; 'application': 0.39; 'received:209.85.214': 0.39; 'subject:-': 0.39; 'well.': 0.40; 'to:addr:python.org': 0.40; 'hello,': 0.40; 'suitable': 0.61; 'course': 0.62; 'necessarily': 0.63; 'demand': 0.79; 'subject:latest': 0.84; 'subject:system': 0.91; 'enhancement': 0.96
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Ei5fItKSW3YFbPyPEsv8aP+i5VEOYb1uwcBETkrdFo0=; b=IcHjjMn0tw8pDOUFX1E6VbOn3hxASPwD7gj/VA51BPRVgE/TA570Weh7C2gxI51gCJ kBJWPgwsSYW5s2FRa4LNf/jgkjhcVZVxCLinFmhEL1eCicVZBMCijmU01DHTnFuKR/tE 0TyKACawp+ORSk8oKaMYlS3a9ZDTq1DFFRmdzWWoYiP5yOe7FSkP7bZloAZegyXebXSY INJ/v1NUvlUY1o3bAyc9AxYLwxYZ6i+cgWirOpF8QHUSFNxC7yYh/GFxbzdHwqZLSYsp vTkWa9Sk5jvOEVtDYPegzRweJAkkNveAixNoNSiZY1VoPR9s/TPPPt2n0Z2spBHPTdUo FIbA==
X-Received by 10.182.66.116 with SMTP id e20mr21674907obt.68.1447692168909; Mon, 16 Nov 2015 08:42:48 -0800 (PST)
In-Reply-To <daltmhFas7qU1@mid.individual.net>
X-Google-Sender-Auth HPLQA_WEAQiCkkcTj8iv0f8wGt8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:98891

Show key headers only | View raw


On Fri, Nov 13, 2015 at 4:52 AM, Christian Ullrich <chris@chrullrich.net> wrote:
> 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?

I don't think there's currently a way to do what you want, but it
seems like a reasonable thing to do.  Would you mind raising an
enhancement request on bugs.python.org?

About the closest you could come currently would be to specify the
full path to the interpreter, but of course that may vary by machine.

-- 
Zach

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Running latest 32-bit Python on 64-bit system Christian Ullrich <chris@chrullrich.net> - 2015-11-13 11:52 +0100
  Re: Running latest 32-bit Python on 64-bit system Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-11-16 10:42 -0600
    Re: Running latest 32-bit Python on 64-bit system Christian Ullrich <chris@chrullrich.net> - 2015-11-16 19:38 +0100

csiph-web