Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107910
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Andrea Gavana <andrea.gavana@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Compiling extensions on Python 2.7, Windows 10 64 bit |
| Date | Sat, 30 Apr 2016 09:04:52 +0200 |
| Lines | 99 |
| Message-ID | <mailman.259.1461999900.32212.python-list@python.org> (permalink) |
| References | <a18dab90-3183-4389-bccf-dbbbae69c6dd@googlegroups.com> <CA+FnnTz+ti4tov5UjRtmcKVG8zkGf5siEx7SYuRNsCm9OevpnQ@mail.gmail.com> <CAEf70bxOZ=4QEeaUCZR0mV4ZjgFmsYPfDkphtLzL_9nTTisZ5Q@mail.gmail.com> <CA+FnnTzhB9EhJHhVq3iX1o23=kVbRq5EZUF+HFh2p6PTZFd4Qg@mail.gmail.com> <CAEf70bzBrJrase51YFb84kgCaMn2+o-J9Emn_WhxYvmP8tS7Dw@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de yDQ3kEbRhae0tZ2h8iq8swXjvsQ39nhE72JkHNG0luAA== |
| Return-Path | <andrea.gavana@gmail.com> |
| 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; 'friday,': 0.07; '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; 'bug': 0.10; 'received:209.85.218': 0.10; 'advance': 0.10; 'python': 0.10; 'python.': 0.11; ':-)': 0.12; '2.7': 0.13; 'argument': 0.15; '2.7?': 0.16; '2016': 0.16; 'bug:': 0.16; 'created.': 0.16; 'happily': 0.16; 'igor': 0.16; 'next.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:bit': 0.16; '\xc2\xa0i': 0.16; 'wrote:': 0.16; 'refers': 0.18; '>': 0.18; 'email addr:gmail.com>': 0.18; 'windows': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'extension': 0.20; 'meant': 0.22; 'trying': 0.22; '8bit%:5': 0.23; '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; 'question': 0.27; 'message-id:@mail.gmail.com': 0.27; 'function': 0.28; 'idea': 0.28; 'there.': 0.30; 'fixed': 0.31; 'skip:s 30': 0.31; 'anyone': 0.32; 'anybody': 0.32; 'source': 0.33; 'url:python': 0.33; 'directory,': 0.33; 'traceback': 0.33; 'file': 0.34; 'skip:d 20': 0.34; 'running': 0.34; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'c++': 0.35; 'skip:" 50': 0.35; 'skip:& 60': 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; 'skip:& 10': 0.37; 'suggestion': 0.37; 'starting': 0.37; 'doing': 0.38; 'no,': 0.38; 'version': 0.38; 'received:209': 0.38; 'wrong': 0.38; 'thank': 0.38; 'skip:o 20': 0.38; 'hi,': 0.38; 'does': 0.39; 'build': 0.40; 'where': 0.40; 'your': 0.60; 'skip:\xc2 10': 0.67; 'dear': 0.67; 'url:en-us': 0.72; 'andrea': 0.84; 'asked.': 0.84; 'everything,': 0.84; 'phoenix': 0.84; 'url: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; bh=xf6bLTOrgMbkTGrdWyOtz3GyxfySAJFfgISYLZuev7I=; b=aNwNs+6JZL5DK9F5SXE48DutsgGn0NMSgwtj62s8Pyldxt1FV1k820TR3PziCIXFgF 4mQK4D1zRIOLUFYJvHPBihtgiXH9MZ6BKqIkwsyyL6QGnkuQhR9CWS/b5jaAr8JpLpAE cK+sPi0s9Z7Ig+9OAsZ8wGBUajEMOI7Z10/OKZxSkqbKRUByffdHf8BomqfIHRRI6PaZ Me64CgIDTc9CLitPr9Ij1Z/qEnQZK2nO1bFfLwsZ2TN9KN4tT79J6euQxMmJ0YgJotSZ 9Rj0RU+MvAJR80W4h0sqNBEiA83uQI0Sax8jwd1HYRHcr+XEcI+pMx0CyULTChRtyOhO l+LQ== |
| 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; bh=xf6bLTOrgMbkTGrdWyOtz3GyxfySAJFfgISYLZuev7I=; b=fRJZu31aA5IB++Wplid0IZmXi62g/dNrrlI6ZZ6cZDj/DdLio6VDFNOV942FR9dDjy 8DqxbomaKssGCrlD08ND+WBKSy/hN1X62+Y/k2CVamIe/rYIYN33YQR62QfshsL1gPLI onMQ/1K6iwnxiVgC+lIY80FHklyVLBa2NEnUGNqv7ZLDKmJgbRW6gr9CYyD0onGp+7wH eYC8+yad/sSve/fP6WFOfpgc4H2Qj1GRxmU7SHZM4AhRehSZlAQHESGAEbj8wCscVPHS 2iSugSoGotym4LnZaKZkvVCEifcnAFgBEdu9gpoy3mxZhwrAcnToYu7xLs2QhzNNfLyp 4gKw== |
| X-Gm-Message-State | AOPr4FVb7aRuOq90TWydp0Fxc8KG1Co6MaX8VrbNpYybx+UtI0gNzBra4PdDxg7JA2N5sONn55fupfUE2IiuPQ== |
| X-Received | by 10.202.46.139 with SMTP id u133mr10906560oiu.16.1461999892513; Sat, 30 Apr 2016 00:04:52 -0700 (PDT) |
| In-Reply-To | <CA+FnnTzhB9EhJHhVq3iX1o23=kVbRq5EZUF+HFh2p6PTZFd4Qg@mail.gmail.com> |
| X-Content-Filtered-By | Mailman/MimeDel 2.1.22 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| 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> |
| X-Mailman-Original-Message-ID | <CAEf70bzBrJrase51YFb84kgCaMn2+o-J9Emn_WhxYvmP8tS7Dw@mail.gmail.com> |
| X-Mailman-Original-References | <a18dab90-3183-4389-bccf-dbbbae69c6dd@googlegroups.com> <CA+FnnTz+ti4tov5UjRtmcKVG8zkGf5siEx7SYuRNsCm9OevpnQ@mail.gmail.com> <CAEf70bxOZ=4QEeaUCZR0mV4ZjgFmsYPfDkphtLzL_9nTTisZ5Q@mail.gmail.com> <CA+FnnTzhB9EhJHhVq3iX1o23=kVbRq5EZUF+HFh2p6PTZFd4Qg@mail.gmail.com> |
| Xref | csiph.com comp.lang.python:107910 |
Show key headers only | View raw
Hi, On Friday, 29 April 2016, Igor Korot <ikorot01@gmail.com> wrote: > Andrea, > > On Fri, Apr 29, 2016 at 4:27 PM, Andrea Gavana <andrea.gavana@gmail.com > <javascript:;>> wrote: > > Hi, > > > > > > On Friday, 29 April 2016, Igor Korot <ikorot01@gmail.com <javascript:;>> > wrote: > >> > >> Andrea, > >> > >> On Fri, Apr 29, 2016 at 3:45 PM, <andrea.gavana@gmail.com > <javascript:;>> wrote: > >> > Dear list, > >> > > >> > I have been trying to compile wxPython Phoenix > >> > (https://github.com/wxWidgets/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.microsoft.com/en-us/download/details.aspx?id=44266). > >> > > >> > I started with Python 2.7.8, then wiped out that installation and used > >> > Python 2.7.11: cleaned the build directory, everything, and rebuilt > the > >> > Phoenix modules from scratch. > >> > > >> > Upon starting the Phoenix demo, I got the same error message I had > with > >> > Python 2.7.8: > >> > > >> > D:\MyProjects\Phoenix\demo>python Main.py > >> > <type 'str'> > >> > Traceback (most recent call last): > >> > File "C:\Python27\lib\site-packages\wxPhoenix\wx\core.py", line > 1955, > >> > in Notify > >> > self.notify() > >> > File "C:\Python27\lib\site-packages\wxPhoenix\wx\core.py", line > 3034, > >> > in Notify > >> > self.result = self.callable(*self.args, **self.kwargs) > >> > File "Main.py", line 2601, in ShowMain > >> > frame = 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 > >> > function > >> > > >> > 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 > >> > stuck and I have no idea on what to try next. > >> > > >> > Does anyone have suggestions/comments on where I should look for/what > I > >> > should do/what I should change in order to get the extension running > on > >> > Python 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. > >> > > > > > > No, Phoenix is meant to work on Python 2 and 3 at the same time. That's > the > > very reason it was created. > > But is it compiling with python 3.x? > Because the bug should be definitely fixed there. > This is not relevant to the question I have asked. I will be using it with Python 3 as well, but I would like to know if anybody has a suggestion on what I may be doing wrong on Python *2*, since I have many projects happily running with that version of Python. Andrea. --
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Compiling extensions on Python 2.7, Windows 10 64 bit andrea.gavana@gmail.com - 2016-04-29 12:45 -0700 Re: Compiling extensions on Python 2.7, Windows 10 64 bit Igor Korot <ikorot01@gmail.com> - 2016-04-29 16:24 -0400 Re: Compiling extensions on Python 2.7, Windows 10 64 bit Igor Korot <ikorot01@gmail.com> - 2016-04-29 16:28 -0400 Re: Compiling extensions on Python 2.7, Windows 10 64 bit Andrea Gavana <andrea.gavana@gmail.com> - 2016-04-29 22:27 +0200 Re: Compiling extensions on Python 2.7, Windows 10 64 bit Andrea Gavana <andrea.gavana@gmail.com> - 2016-04-30 09:04 +0200
csiph-web