Date: Fri, 18 Apr 2014 20:45:46 +0800 From: Irjohn Junus <i.junus@gmail.com> To: "John W. O'Brien" <john@saltant.com>, python@FreeBSD.org, Jimmy Olgeni <olgeni@freebsd.org> Subject: py27-pandas-0.13.1_1 conflict with py27-MySQLdb-1.2.3_4/ py27-MySQLdb55-1.2.3_4 Message-ID: <CALXkR%2B8ivP3m2aJN%2Bm88Sz%2B4BodAxnYioBvgUotFZf_-TVPLgg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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 "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/pandas/__init__.py", line 6, in <module> 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 <module> from . import add_newdocs File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module> from numpy.lib import add_newdoc File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 18, in <module> from .polynomial import * File "/usr/local/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 19, in <module> from numpy.linalg import eigvals, lstsq, inv File "/usr/local/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 50, in <module> from .linalg import * File "/usr/local/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 29, in <module> 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 "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 153, in <module> from . import add_newdocs File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module> from numpy.lib import add_newdoc File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 17, in <module> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALXkR%2B8ivP3m2aJN%2Bm88Sz%2B4BodAxnYioBvgUotFZf_-TVPLgg>