Opened 11 years ago
Last modified 11 years ago
#42250 closed defect
clean port install of python and opengl, attempted python module import fails — at Version 2
Reported by: | jacoblee@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | jmr@…, dh@…, michaelld@… | |
Port: | py27-opengl |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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?
Change History (2)
comment:1 Changed 11 years ago by jacoblee@…
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jmr@… dh@… michaelld@… added |
---|---|
Description: | modified (diff) |
Keywords: | python pyopengl numpy removed |
Please remember to use WikiFormatting and to preview before submitting.
Note: See
TracTickets for help on using
tickets.
Replying to jacoblee@…: p.s. I also ran the command: sudo port select --set python python27