[MacPorts] #26861: py26-numpy and py26-scipy install but cannot be imported
MacPorts
noreply at macports.org
Sat Oct 16 00:49:51 PDT 2010
#26861: py26-numpy and py26-scipy install but cannot be imported
--------------------------------------+-------------------------------------
Reporter: haroldpimentel@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: python, numpy, scipy | Port: py26-numpy
--------------------------------------+-------------------------------------
I'm running /opt/local/bin/python2.6 and I get the following output. Any
ideas?
Thanks,
Harold
>>>
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/__init__.py", line 154, in <module>
import ctypeslib
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/ctypeslib.py", line 60, in <module>
import ctypes
File "ctypes/__init__.py", line 20, in <module>
raise Exception, ("Version number mismatch", __version__,
_ctypes_version)
Exception: ('Version number mismatch', '1.0.3', '1.1.0')
>>>
>>> import scipy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/scipy/__init__.py", line 78, in <module>
from numpy import show_config as show_numpy_config
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/__init__.py", line 154, in <module>
import ctypeslib
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/site-packages/numpy/ctypeslib.py", line 60, in <module>
import ctypes
File "ctypes/__init__.py", line 20, in <module>
raise Exception, ("Version number mismatch", __version__,
_ctypes_version)
Exception: ('Version number mismatch', '1.0.3', '1.1.0')
--
Ticket URL: <https://trac.macports.org/ticket/26861>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list