Date: Sun, 06 Apr 2014 02:35:36 +0200 From: hhh@sdf.org To: <freebsd-ports@freebsd.org> Subject: Re: mnemosyne: gcc related error Message-ID: <87txa79twn.fsf@gmail.com>
next in thread | raw e-mail | index | archive | help
> Hi all, > I get the following error when running mnemosyne (games/py-mnemosyne): > % mnemosyne > An unexpected error has occurred. > Please forward the following info to the developers: > Traceback (innermost last): > File "/usr/local/bin/mnemosyne", line 155, in <module> > debug_file=options.debug_file) > File "/usr/local/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 164, in initialise > self.register_components() > File "/usr/local/lib/python2.7/site-packages/mnemosyne/libmnemosyne/__init__.py", line 215, in register_components > exec("from %s import %s" % (module_name, class_name)) > File "<string>", line 1, in <module> > File "/usr/local/lib/python2.7/site-packages/mnemosyne/pyqt_ui/statistics_wdgts_plotting.py", line 7, in <module> > from matplotlib import rcParams > File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line 151, in <module> > from matplotlib.rcsetup import (defaultParams, > File "/usr/local/lib/python2.7/site-packages/matplotlib/rcsetup.py", line 20, in <module> > from matplotlib.colors import is_color_like > File "/usr/local/lib/python2.7/site-packages/matplotlib/colors.py", line 52, in <module> > import numpy as np > 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 > There is no problem with importing numpy or matplotlib in python: > % python -c 'import numpy, matplotlib.pyplot' > What could be causing this problem? > I'm running FreeBSD 10.0-RELEASE with packages updated by pkgng. > Thank you in advance for help, > Henryk I found a workaround. Instead of using the default python interpreter, I can run mnemosyne using ipython: % ipython /usr/local/bin/mnemosyne I would like to ask, if someone could install mnemosyne and the problem described above. If so, I could fill up a PR. Please add my email to the CC field in reply. Thank you in advance and best regards Henryk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87txa79twn.fsf>