On April 18, 2014 8:45:46 AM EST, Irjohn Junus <i.ju...@gmail.com> 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 "<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
Hi Irjohn, Yes, this looks related to your previous issue. Again, numpy is clearly involved. 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 _______________________________________________ freebsd-python@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"