Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Igor Korot Newsgroups: comp.lang.python Subject: Re: Compiling extensions on Python 2.7, Windows 10 64 bit Date: Fri, 29 Apr 2016 16:24:57 -0400 Lines: 58 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de YAShPxAj8zZChmB6Aa+0ggmGZSo44aD0+HwAKdvv+PRQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'compiler': 0.05; 'cc:addr:python-list': 0.09; 'subject:Windows': 0.09; '__init__': 0.09; 'assumed': 0.09; 'cleaned': 0.09; 'subject:2.7': 0.09; 'url:github': 0.09; 'advance': 0.10; 'python': 0.10; ':-)': 0.12; '2.7': 0.13; 'argument': 0.15; '2.7?': 0.16; '2016': 0.16; 'bug:': 0.16; 'next.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:bit': 0.16; 'wrote:': 0.16; 'refers': 0.18; 'windows': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'extension': 0.20; 'trying': 0.22; 'installation': 0.23; '(most': 0.24; 'header:In-Reply-To:1': 0.24; 'url:bugs': 0.24; 'url:download': 0.24; 'error': 0.27; 'fri,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'function': 0.28; 'idea': 0.28; 'url:mailman': 0.30; 'fixed': 0.31; 'skip:s 30': 0.31; 'anyone': 0.32; 'source': 0.33; 'url:python': 0.33; 'directory,': 0.33; 'traceback': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'running': 0.34; 'received:google.com': 0.35; 'c++': 0.35; 'skip:" 50': 0.35; 'skip:. 20': 0.35; 'but': 0.36; 'list,': 0.36; 'should': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'modules': 0.36; 'visual': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'starting': 0.37; 'received:209': 0.38; 'thank': 0.38; 'skip:o 20': 0.38; 'does': 0.39; 'url:mail': 0.40; 'build': 0.40; 'where': 0.40; 'your': 0.60; 'you.': 0.64; 'dear': 0.67; 'url:en-us': 0.72; 'everything,': 0.84; 'phoenix': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=WBK7S5XWQkEuPVuUM/GJXZHAMK62PYjbwQ3ZjmFgJj0=; b=J5G8LXwRU4KYUjrVTKQUebzi7vJR9S/n0gkl4qoxbuDS8+icNE8IiAugdd9gCiPvRt /3ELdBBOGabCIvrGrs7IakY8OGN7lbXWZFVd5Pusp17u1puuG45R6BXX4RroDofQzYmf VFFbetc66bAsk69d4vv93Wg6AUu7aBFwagxzysIDo0DXV/og+wQYvHI60y6OKyEtjSFx UB1lS4kTs9mb1Uj5pq85U4T9BSUVJqAGSg42WGNg1ElIYBQ0FCfG0ab/S4lKkgCo/j4I cwGk/TMFJo5lNGg8VVlZKaBdUpuzYAdtaHYAM7qapQ8hbok3EeAAhVxQ8m92mzXHfR+Y 0PqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=WBK7S5XWQkEuPVuUM/GJXZHAMK62PYjbwQ3ZjmFgJj0=; b=kxJwLsdTXWDoqtWZPOKpc+KJl6C3reoobMBSzgq7/z2aT42ajImCYnxN4fY0jHxr6W Rjq9kMGpCxtgaypJZQk0pP8EfswslEXMSNEMum8jdomWoJF0ZykfQS4EkvLVu79JKS03 /8b3gThxDeAIpflpmY1Xt17LDyctZIouRhUtv+yXD+5p1TZgW4AVofmy+sYtmzjDRNhb Wfjnd1PzU8friE7ZUbaDM6MlUtzC8qkOoz0lBYeWOtbt7yHnUJ5WzwXE4hql5CE8Xy1k DY1/9DaoTau7D9pd4uTdW7HPtp5DT0ulSzM7XKhsan4dOvt4h1wvAo4XjHRC9HjYteLw FkiA== X-Gm-Message-State: AOPr4FXZBU3m0gfOH2wun/Yf3e7N0lHqEN7GBQPcERTcGctqy9qS0XpHDpNw8fOwS9gAwsPHmIlBMn7fqzt0PA== X-Received: by 10.13.216.18 with SMTP id a18mr11956920ywe.179.1461961497142; Fri, 29 Apr 2016 13:24:57 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.lang.python:107863 Andrea, On Fri, Apr 29, 2016 at 3:45 PM, wrote: > Dear list, > > I have been trying to compile wxPython Phoenix (https://github.com/wx= Widgets/Phoenix) from source on Windows 10 64 bit, Python 2.7 64 bit, using= the very handy Microsoft Visual C++ Compiler for Python 2.7 (https://www.m= icrosoft.com/en-us/download/details.aspx?id=3D44266). > > I started with Python 2.7.8, then wiped out that installation and used Py= thon 2.7.11: cleaned the build directory, everything, and rebuilt the Phoen= ix modules from scratch. > > Upon starting the Phoenix demo, I got the same error message I had with P= ython 2.7.8: > > D:\MyProjects\Phoenix\demo>python Main.py > > Traceback (most recent call last): > File "C:\Python27\lib\site-packages\wxPhoenix\wx\core.py", line 1955, i= n Notify > self.notify() > File "C:\Python27\lib\site-packages\wxPhoenix\wx\core.py", line 3034, i= n Notify > self.result =3D self.callable(*self.args, **self.kwargs) > File "Main.py", line 2601, in ShowMain > frame =3D wxPythonDemo(None, "wxPython: (A Demonstration)") > File "Main.py", line 1531, in __init__ > self.SetOverview(self.overviewText, mainOverview) > File "Main.py", line 2130, in SetOverview > self.nb.SetPageText(0, os.path.split(name)[1]) > SystemError: ..\Objects\longobject.c:998: bad argument to internal functi= on > > The error message refers (apparently) to this Python bug: > > https://bugs.python.org/issue23842 > > But I assumed that it had been fixed waaaaay before 2.7.11. Now I am stuc= k and I have no idea on what to try next. > > Does anyone have suggestions/comments on where I should look for/what I s= hould do/what I should change in order to get the extension running on Pyth= on 2.7? > > Thank you in advance for your suggestions :-) Did you try with python 3.x? IIUC, Phoenix should be made for python 3.x, and classic is for 2.7 series. Thank you. . > > Andrea. > -- > https://mail.python.org/mailman/listinfo/python-list