From owner-freebsd-python@freebsd.org Tue Nov 27 00:33:16 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68D78114A25B for ; Tue, 27 Nov 2018 00:33:16 +0000 (UTC) (envelope-from db@db.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E17C57408D for ; Tue, 27 Nov 2018 00:33:15 +0000 (UTC) (envelope-from db@db.net) Received: by mailman.ysv.freebsd.org (Postfix) id A4941114A257; Tue, 27 Nov 2018 00:33:15 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90C77114A254; Tue, 27 Nov 2018 00:33:15 +0000 (UTC) (envelope-from db@db.net) Received: from artemis.db.net (artemis.db.net [45.32.229.41]) by mx1.freebsd.org (Postfix) with ESMTP id CC8657408B; Tue, 27 Nov 2018 00:33:14 +0000 (UTC) (envelope-from db@db.net) Received: from night.db.net (artemis.db.net [45.32.229.41]) by artemis.db.net (Postfix) with ESMTP id 022DB10F2F; Tue, 27 Nov 2018 00:33:12 +0000 (UTC) Received: by night.db.net (Postfix, from userid 1000) id 372BC39874; Mon, 26 Nov 2018 19:33:12 -0500 (EST) Date: Mon, 26 Nov 2018 19:33:12 -0500 From: Diane Bruce To: "Montgomery-Smith, Stephen" Cc: FreeBSD Ports , "python@freebsd.org" , "amdmi3@FreeBSD.org" Subject: Re: Strange interaction between py-pyglet and py-numpy Message-ID: <20181127003312.GB70473@night.db.net> References: <0bacb5c9-a16e-1b56-55b5-6db5fadc80c5@missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0bacb5c9-a16e-1b56-55b5-6db5fadc80c5@missouri.edu> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: E17C57408D X-Spamd-Result: default: False [-5.84 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[db.net]; AUTH_NA(1.00)[]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; MX_GOOD(-0.01)[cached: mx1-us2.ppe-hosted.com]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.64)[ip: (-9.87), ipnet: 2001:1900:2254::/48(-4.70), asn: 10310(-3.54), country: US(-0.09)]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[stephen@missouri.edu ..,freebsd-python@freebsd.org] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2018 00:33:16 -0000 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 "", line 1, in > File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line > 142, in > from . import add_newdocs > File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", > line 13, in > from numpy.lib import add_newdoc > File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", > line 8, in > from .type_check import * > File "/usr/local/lib/python2.7/site-packages/numpy/lib/type_check.py", > line 11, in > import numpy.core.numeric as _nx > File "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", > line 26, in > 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