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 Initial Version
Reported by: | jacoblee@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | py27-opengl |
Description
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?