From owner-freebsd-python@FreeBSD.ORG Fri Apr 18 12:45:47 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 7BB6899A; Fri, 18 Apr 2014 12:45:47 +0000 (UTC) Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [IPv6:2607:f8b0:400c:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 284F81B96; Fri, 18 Apr 2014 12:45:47 +0000 (UTC) Received: by mail-ve0-f178.google.com with SMTP id jw12so2725980veb.23 for ; Fri, 18 Apr 2014 05:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=66A4GTkO+D4EJlcISWtNwaQYJE9HHB+NJxp9lkWpLyQ=; b=P6hSvF8vPlSH8lKFMaDw1YnehdrbtxsUcONPsrWkAsFhHnsYp5cmvNwdq1sXG9yS60 AE+9iPDc0O0sO22BcBq67RhPmdiEDKqAcsH3K5QGoLpn39Vse0zqEpuwJ43Oc9/r16W+ MMtGzzCLJWlR630bv4knlvqTL3HD2uLHYg5SyJA13r2iDbtb2IqDXHbp3he6hXst1ECV 2XjnW1cmlErLfzIK5AMp+Pc8xPrbR5yV8Gzj8DugEghKvEDt3IXgE+gfNRsoDLgpp+Mg mjJN9G74sCHs15m9U1w8CuVxturqrhHuIl+IdIk1NRTtqPyZyNEBGAgPfEZojE5wzs1d E5iA== MIME-Version: 1.0 X-Received: by 10.221.20.199 with SMTP id qp7mr13266085vcb.24.1397825146301; Fri, 18 Apr 2014 05:45:46 -0700 (PDT) Received: by 10.58.168.199 with HTTP; Fri, 18 Apr 2014 05:45:46 -0700 (PDT) Date: Fri, 18 Apr 2014 20:45:46 +0800 Message-ID: Subject: py27-pandas-0.13.1_1 conflict with py27-MySQLdb-1.2.3_4/ py27-MySQLdb55-1.2.3_4 From: Irjohn Junus To: "John W. O'Brien" , python@FreeBSD.org, Jimmy Olgeni Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 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 12:45:47 -0000 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