ipython / numpy / scipy weirdness
Johannes Jost Meixner
xmj at FreeBSD.org
Sat May 23 01:57:11 UTC 2015
-----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 at 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 at 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-----
More information about the freebsd-python
mailing list