Date: Mon, 26 Nov 2018 19:33:12 -0500 From: Diane Bruce <db@db.net> To: "Montgomery-Smith, Stephen" <stephen@missouri.edu> Cc: FreeBSD Ports <freebsd-ports@freebsd.org>, "python@freebsd.org" <python@freebsd.org>, "amdmi3@FreeBSD.org" <amdmi3@freebsd.org> Subject: Re: Strange interaction between py-pyglet and py-numpy Message-ID: <20181127003312.GB70473@night.db.net> In-Reply-To: <0bacb5c9-a16e-1b56-55b5-6db5fadc80c5@missouri.edu> References: <0bacb5c9-a16e-1b56-55b5-6db5fadc80c5@missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 26, 2018 at 11:59:36PM +0000, Montgomery-Smith, Stephen wrote: > Using python2.7, if I run this code: > > import numpy as np > from pyglet.gl import * > > everything works fine. But if I put the same code in the other order: > > from pyglet.gl import * > import numpy as np > > I get: > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line > 142, 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 8, in <module> > from .type_check import * > File "/usr/local/lib/python2.7/site-packages/numpy/lib/type_check.py", > line 11, in <module> > import numpy.core.numeric as _nx > File "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", > line 26, in <module> > raise ImportError(msg) > ImportError: > Importing the multiarray numpy extension module failed. Most > likely you are trying to import a failed build of numpy. > If you're working with a numpy git repo, try `git clean -xdf` (removes all > files not under version control). Otherwise reinstall numpy. > > Original error was: /lib/libgcc_s.so.1: version GCC_4.8.0 required by > /usr/local/lib/gcc7/libgfortran.so.4 not found > > > Any ideas? I want my pony still. https://wiki.freebsd.org/libgcc%20problem > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- - db@FreeBSD.org db@db.net http://artemis.db.net/~db
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181127003312.GB70473>