Date: Sat, 23 May 2015 04:57:06 +0300 From: Johannes Jost Meixner <xmj@FreeBSD.org> To: python@FreeBSD.org Subject: ipython / numpy / scipy weirdness Message-ID: <555FDE72.4010303@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Trying my hand at Data SCIENCE (tm) with a combination of ipython notebooks and numpy/scipy, I seem to have stumbled upon weirdness we already considered fixed: ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found Supposedly, we have a commit to show for fixing it in https://svnweb.freebsd.org/ports?view=revision&revision=369447, and yet... I can't get numpy nor scipy to work *without* the following: xmj@mx12:~/repos/ports-wip/math/py-numpy$ svn diff Index: Makefile =================================================================== - --- Makefile (revision 384548) +++ Makefile (working copy) @@ -20,7 +20,7 @@ USES= fortran python USE_PYTHON= concurrent distutils py3kplist - -LDFLAGS+= -shared +LDFLAGS+= -shared -Wl,-rpath='/usr/local/lib/gcc48' OPTIONS_DEFINE= DOCS SUITESPARSE TESTS OPTIONS_SINGLE= BLASLIB The fix for science/py-scipy is analogous. Can someone reproduce this issue, and the fix for it? All you need to do is: - - install ipython, numpy and scipy % ipython notebook (new site opens in a browser) create a notebook write into it, 'import numpy' write into it, 'import scipy run the notebook (hit the 'play' button) Cheers, - -j - -- Johannes Meixner | FreeBSD Committer xmj@FreeBSD.org | http://people.freebsd.org/~xmj -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVX95tAAoJEPyeKTcbGw0Li7MH/2V2AgU1PP07tcvrfXw2g7NU 2mVigZhYfTqLvI9CgF5Qx/lpBebhmtMDy9G97c973MOxibkYctlYHaOirqTE8uC5 mDL9uhsCBJt2vN2kfEyDf+RYISj2HZq0eQDotsfjI8Ryud41QDV1ln5MGOCfnRzP KEOGVwKD0m06E4Ro0YdnZZHsW0M2aOht8kuZlID58tC6BJufpxngDxQqMhwTRMmi lvJHe1hYAnLgDBkQl/57cd12p7IGfdIBSJ60IHVZB/qglsM2CNvuReDJ5n8vtvOv tvPKm7t8QiHOHOS+nM90mjO0Rg/1jSnGrDV7cqO8phoLETEdkExXw4sDFG2P5hY= =UNrx -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?555FDE72.4010303>