Strange interaction between py-pyglet and py-numpy
Diane Bruce
db at db.net
Tue Nov 27 00:33:16 UTC 2018
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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
- db at FreeBSD.org db at db.net http://artemis.db.net/~db
More information about the freebsd-python
mailing list