From owner-freebsd-python@FreeBSD.ORG Fri Apr 18 16:45:58 2014 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3101F8D; Fri, 18 Apr 2014 16:45:57 +0000 (UTC) Received: from homiemail-a111.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by mx1.freebsd.org (Postfix) with ESMTP id BC3381501; Fri, 18 Apr 2014 16:45:57 +0000 (UTC) Received: from homiemail-a111.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTP id AE2902007F002; Fri, 18 Apr 2014 09:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=in-reply-to :references:mime-version:content-type:subject:from:date:to :message-id:content-transfer-encoding; s=saltant.com; bh=iDFnZ/Q h1VGDuGcT6dLNX1X+FxE=; b=HtyHfWCtrfNCJj+0vbGVxKFwa8QAg32xovu7TgE Y+pP7AlMkC0BNc3cYwWY6nZUay19a4yxqW1GvRdtoearDbWAz1PAsj81ciTXd0lm v/GKoLwxXNuUF2zVKn8cqbLBNslwnWJh9QJu3FCIj07JwjDNM1ei4+3jv/esSDSD 2OZM= Received: from [172.16.0.105] (unknown [91.181.146.211]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: john@saltant.com) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTPSA id A2E132007F001; Fri, 18 Apr 2014 09:45:49 -0700 (PDT) User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Subject: Re: py27-pandas-0.13.1_1 conflict with py27-MySQLdb-1.2.3_4/ py27-MySQLdb55-1.2.3_4 From: "John W. O'Brien" Date: Fri, 18 Apr 2014 12:45:39 -0400 To: Irjohn Junus , python@FreeBSD.org, Jimmy Olgeni Message-ID: <0b99fa05-a61e-41e7-8354-98081c4f27aa@email.android.com> Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2014 16:45:58 -0000 On April 18, 2014 8:45:46 AM EST, Irjohn Junus wrote: >Dear All, > >I'm running 9.1-RELEASE and today just after freebsd-update to p11 and >updating ports to the latest found out that pandas won't import after >MySQLdb is imported first. Strangely, it will import no problem if >MySQLdb >is imported after: > >root@khaleesi:/usr/ports # python >Python 2.7.6 (default, Apr 3 2014, 05:37:25) >[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 >Type "help", "copyright", "credits" or "license" for more information. >>>> import pandas as pd >>>> import numpy as np >>>> import MySQLdb >>>> >root@khaleesi:/usr/ports # python >Python 2.7.6 (default, Apr 3 2014, 05:37:25) >[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 >Type "help", "copyright", "credits" or "license" for more information. >>>> import MySQLdb >>>> import pandas as pd >/lib/libgcc_s.so.1: version GCC_4.6.0 required by >/usr/local/lib/gcc47/libgfortran.so.3 not found >Traceback (most recent call last): > File "", line 1, in >File "/usr/local/lib/python2.7/site-packages/pandas/__init__.py", line >6, >in > from . import hashtable, tslib, lib > File "numpy.pxd", line 157, in init pandas.hashtable >(pandas/hashtable.c:21547) > File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line >153, in > from . import add_newdocs >File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", >line >13, in > from numpy.lib import add_newdoc >File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", >line >18, in > from .polynomial import * > File "/usr/local/lib/python2.7/site-packages/numpy/lib/polynomial.py", >line 19, in > from numpy.linalg import eigvals, lstsq, inv >File "/usr/local/lib/python2.7/site-packages/numpy/linalg/__init__.py", >line 50, in > from .linalg import * > File "/usr/local/lib/python2.7/site-packages/numpy/linalg/linalg.py", >line 29, in > from numpy.linalg import lapack_lite, _umath_linalg >ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by >/usr/local/lib/gcc47/libgfortran.so.3 not found >>>> import numpy as np >Traceback (most recent call last): > File "", line 1, in > File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line >153, in > from . import add_newdocs >File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", >line >13, in > from numpy.lib import add_newdoc >File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", >line >17, in > from . import scimath as emath >ImportError: cannot import name scimath >>>> > >I'm not sure if this is the case before the massive upgrade that I did >today to the latest FreeBSD and ports versions. > >I wrote earlier to Jimmy and John about similar issue I was facing with >IPython, could this be related? > >Much appreciated if you could take a look at this. > > > >Regards, >Irjohn Hi Irjohn, Yes, this looks related to your previous issue. Again, numpy is clearly i= nvolved. I am traveling at the moment with minimal computer capabilities,= but I will be glad to look into this at in a week or so, unless somebody= else has been able to solve it in the mean time. Regards, John