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


Groups > comp.lang.python > #91320

Re: Python 3.5 crashes on wrong %PYTHONHOME

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
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.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; "'python": 0.07; 'override': 0.07; 'command.': 0.09; 'cc:addr :python-list': 0.10; 'python': 0.11; '2.7': 0.13; 'wed,': 0.15; "skip:' 30": 0.15; '1:13': 0.16; 'crashes': 0.16; 'wrote:': 0.16; 'sender:addr:gmail.com': 0.18; "shouldn't": 0.18; 'first,': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'bit': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'installed': 0.26; 'message- id:@mail.gmail.com': 0.28; "doesn't": 0.28; 'noticed': 0.29; "i'm": 0.29; '32-bit': 0.29; 'guess': 0.29; 'work.': 0.30; "i'd": 0.31; 'skip:p 30': 0.32; 'impression': 0.33; 'another': 0.34; 'received:google.com': 0.34; 'something': 0.35; 'problem.': 0.35; 'but': 0.36; 'list,': 0.36; 'there': 0.36; '(and': 0.36; 'should': 0.37; 'setting': 0.37; 'subject:: ': 0.37; "skip:' 20": 0.37; 'instead': 0.38; 'skip:p 20': 0.38; 'doing': 0.38; 'pm,': 0.39; 'things': 0.39; 'simple': 0.61; 'gave': 0.63; 'case?': 0.84; 'presumably': 0.84
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=yv5EDutQ2GFco6hB4FbPi0/EEzXnf4vGGeKAMr0iVtE=; b=Zjqk//exnCpDV2tagTbbCCMzkp6j8ksiQK69cXI4DjsKfMXQT+fJUhdXpmsMq0cJ4x xj8H+endqXNXBDJ2YdhWrkmGdTXam1OU0lztw+lkpzWVUCBMN3/zhPnSudEw8mP2A8VC 5068qk2Ye/R6j2KkxYKpe4pDyPsmgugmkYW8z88KM3fm+P8RXWWkNU5G09qBpJVeMrT3 ffalDLM4rBrVG5g2jBOdiZUGvUwkvaFzKkst3FkXl3W0yF46GUa5RfIapvqCMIxiu6Vf rsJ5LsVmZAMO/oZxcKwvOOdLTCbWqh71RRD9QeY5RVrcBzzA3lzOxgwexNsBrmLRMtnS uxfA==
X-Received by 10.182.68.13 with SMTP id r13mr229500obt.20.1432753454780; Wed, 27 May 2015 12:04:14 -0700 (PDT)
MIME-Version 1.0
Sender zachary.ware@gmail.com
In-Reply-To <55660932.6010706@yahoo.no>
References <55660932.6010706@yahoo.no>
From Zachary Ware <zachary.ware+pylist@gmail.com>
Date Wed, 27 May 2015 14:03:54 -0500
X-Google-Sender-Auth BH12BU3-zdG3syOFc7aIEiq9poE
Subject Re: Python 3.5 crashes on wrong %PYTHONHOME
To Gisle Vanem <gvanem@yahoo.no>
Cc Python-list <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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>
Newsgroups comp.lang.python
Message-ID <mailman.95.1432753464.5151.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1432753464 news.xs4all.nl 2899 [2001:888:2000:d::a6]:54621
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 4513
X-Received-Body-CRC 2360418037
Xref csiph.com comp.lang.python:91320

Show key headers only | View raw


On Wed, May 27, 2015 at 1:13 PM, Gisle Vanem <gvanem@yahoo.no> wrote:
> I just installed the 32-bit Python 3.5b4 via the Web-installer.
> First, I was a bit annoyed by the fact it installed under
>   'f:\ProgramFiler-x86\Python35' instead of
>   'f:\ProgramFiler\Python35' as I customided for. But I guess
> this is a WOW64 thing. I'm on Win-8.1 (64-bit).
>
> But then I noticed the whole thing crashes when calling
> python35!Py_FatalError. On a simple 'python -v' command.
>
> Presumably because my env-var:
>  PYTHONHOME=f:\Programfiler\Python27
>
> (and not 'PYTHONHOME=f:\Programfiler\Python35').
>
> Reading the message on this list, gave me the impression
> Python 2.7 and Python 3.5 can co-exist with no problem.
> Doesn't look the case so far. Is there another 'PYTHONxx'
> env-var to override 'PYTHONHOME' in this case? Or what should
> I do to keep on using both 27 and 35?

Is there any particular reason you're setting PYTHONHOME in the first
place?  It shouldn't be necessary unless you're doing something
abnormal.  I'd try unsetting it entirely and see if things just work.

-- 
Zach

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


Thread

Re: Python 3.5 crashes on wrong %PYTHONHOME Zachary Ware <zachary.ware+pylist@gmail.com> - 2015-05-27 14:03 -0500

csiph-web