[MacPorts] #42250: clean port install of python and opengl, attempted python module import fails

MacPorts noreply at macports.org
Fri Jan 24 12:39:02 PST 2014


#42250: clean port install of python and opengl, attempted python module import
fails
-------------------------------------+--------------------------------
 Reporter:  jacoblee@…               |      Owner:  macports-tickets@…
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.2.1
 Keywords:  python, pyopengl, numpy  |       Port:  py27-opengl
-------------------------------------+--------------------------------
 I am not sure this is a port error, but...

 Start with no ports at all I install python27

 $ sudo port install python27

 ..no errors or warnings..

 and then

 $ sudo port install py27-opengl

 ..no errors or warnings..
 --->  Installing py27-opengl @3.0.2_1
 --->  Activating py27-opengl @3.0.2_1
 --->  Cleaning py27-opengl
 --->  Updating database of binaries: 100.0%
 --->  Scanning binaries for linking errors: 100.0%
 --->  No broken files found.

 Then I load python and try to import:

 $ python
 Python 2.7.6 (default, Nov 12 2013, 13:26:39)
 [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on
 darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from OpenGL_accelerate.numpy_formathandler import NumpyHandler
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "numpy.pxd", line 151, in init
 OpenGL_accelerate.numpy_formathandler (src/numpy_formathandler.c:5252)
 ValueError: numpy.dtype has the wrong size, try recompiling

 I've read that this might have to do with a package that was compiled
 using another version of numpy?

-- 
Ticket URL: <https://trac.macports.org/ticket/42250>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list