Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'scipy': 0.05; '(except': 0.07; 'distutils': 0.07; 'incompatible': 0.07; 'paths': 0.07; 'subject:skip:s 10': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'python': 0.11; 'up-to- date': 0.14; 'changes': 0.15; 'windows': 0.15; "%s'": 0.16; '(around': 0.16; 'afaik.': 0.16; 'benjamin': 0.16; 'message- id:@post.gmane.org': 0.16; 'numpy': 0.16; 'patches': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'setuptools.': 0.16; 'extensions': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'module': 0.19; '(the': 0.22; 'install': 0.23; 'creating': 0.23; 'installation': 0.23; 'header:User-Agent:1': 0.23; 'adds': 0.24; 'compilation': 0.24; 'copied': 0.24; 'versions': 0.24; 'looks': 0.24; 'compiled': 0.26; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'specifically': 0.29; "i'm": 0.30; 'comments': 0.31; 'lines': 0.31; "skip:' 10": 0.31; 'you?': 0.31; '(although': 0.31; '3.2': 0.31; 'gcc': 0.31; 'writes:': 0.31; 'python.org': 0.32; 'running': 0.33; 'ago': 0.33; 'bugs': 0.33; 'plain': 0.33; 'skip:d 20': 0.34; 'could': 0.34; 'possible.': 0.35; 'skip:s 30': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; '2.6': 0.36; 'combination': 0.36; 'idle': 0.36; 'largely': 0.36; "didn't": 0.36; 'charset:us-ascii': 0.36; 'problems': 0.38; 'to:addr:python- list': 0.38; 'skip:- 10': 0.38; 'recent': 0.39; 'does': 0.39; '(from': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'upgrading': 0.60; 'information': 0.63; 'myself': 0.63; 'more': 0.64; 'latest': 0.67; 'between': 0.67; 'special': 0.74; ':).': 0.84; 'compiling': 0.84; 'cygwin': 0.84; 'mingw': 0.84; 'oscar': 0.84; 'works)': 0.84; 'hand,': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Josef Perktold Subject: Re: statsmodels.api Date: Tue, 17 Sep 2013 16:15:05 +0000 (UTC) References: <477a0f61-87d6-4937-8467-743fc053ecec@googlegroups.com> <41a1e4b3-e497-43eb-8095-c2254afa2407@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 96.127.225.218 (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 68 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379434533 news.xs4all.nl 15979 [2001:888:2000:d::a6]:57240 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54319 Oscar Benjamin gmail.com> writes: > > On 17 September 2013 15:52, Josef Perktold gmail.com> wrote: > > > > On the other hand, python-xy comes with MingW, and I never had any problems > > compiling pandas and statsmodels for any version combination of python and > > numpy that I tested (although 32 bit only so far, I never set up the > > Microsoft sdk). > > Just out of interest: out of the box Python.org distutils is > incompatible with recent versions of MinGW. If Python-xy distributes > MinGW (and it works) then they're either creating a special patched > MinGW set up or patching distutils. I don't want to install Python-xy > myself since it'll clobber my existing Python installation but could > you answer the following for me: > > 1) What gcc version did Python-xy install for you? > > 2) Does the distutils.cygwincompiler module it installs contain the > following lines (around about line 300) specifically with the > '-mno-cygwin' option? > > self.set_executables(compiler='gcc -mno-cygwin -O -Wall', > compiler_so='gcc -mno-cygwin -mdll -O -Wall', > compiler_cxx='g++ -mno-cygwin -O -Wall', > linker_exe='gcc -mno-cygwin', > linker_so='%s -mno-cygwin %s %s' I installed python-xy 2 years ago with python 2.6 and didn't update, so my information is not up-to-date It looks like my MingW version uses mingw32-gcc-4.4.0.exe for python 2.6 which came with python-xy: self.set_executables(compiler='gcc -mno-cygwin -O -Wall', compiler_so='gcc -mno-cygwin -mdll -O -Wall', compiler_cxx='g++ -mno-cygwin -O -Wall', linker_exe='gcc -mno-cygwin', linker_so='%s -mno-cygwin %s %s' % (self.linker_dll, shared_option, entry_point)) However, I'm running python 2.5, 2.7, 3.2 and 3.3 additionally. And they are all python.org versions without any changes (except IDLE bugs :). I don't have any compilation problems with any of them. Until recently statsmodels used distutils from numpy which adds some patches AFAIK. The current statsmodels setup.py just uses plain distutils and setuptools. (The setup.py is largely copied from pandas which has a lot more C extensions than statsmodels.) numpy scipy binaries for Windows are still compiled against MingW 3.x, but David Cournapeau is looking into upgrading to the latest MingW(-64) right now. also (from some comments about problems a long time ago): I don't have cygwin installed, so there is no confusion between cygwin and msys/mingw paths possible. Josef > > Oscar >