Date: Mon, 26 Nov 2018 23:59:36 +0000 From: "Montgomery-Smith, Stephen" <stephen@missouri.edu> To: FreeBSD Ports <freebsd-ports@FreeBSD.org>, "python@freebsd.org" <python@freebsd.org>, "amdmi3@FreeBSD.org" <amdmi3@FreeBSD.org> Subject: Strange interaction between py-pyglet and py-numpy Message-ID: <0bacb5c9-a16e-1b56-55b5-6db5fadc80c5@missouri.edu>
index | next in thread | raw e-mail
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?
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0bacb5c9-a16e-1b56-55b5-6db5fadc80c5>
