S
Stephen Webb
I installed py27-numpy / scipy / matplotlib using macports, and it ran without failing.
When I run Python I get the following error:
$>> which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
$>> python
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.py", line 128, in <module>
from version import git_revision as __git_revision__
ImportError: cannot import name git_revision
I get the same error for all three packages. Is this a MacPorts issue or a different issue?
I am running OS X 10.6 with the Intel Core i5 architecture. At one point I thought this was a 64-bit versus 32-bit issue, viz.:
('64bit', '')
but I would have thought the MacPorts install would have resolved that.
Any help would be appreciated.
Thanks!
-s
When I run Python I get the following error:
$>> which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
$>> python
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.py", line 128, in <module>
from version import git_revision as __git_revision__
ImportError: cannot import name git_revision
I get the same error for all three packages. Is this a MacPorts issue or a different issue?
I am running OS X 10.6 with the Intel Core i5 architecture. At one point I thought this was a 64-bit versus 32-bit issue, viz.:
('64bit', '')
but I would have thought the MacPorts install would have resolved that.
Any help would be appreciated.
Thanks!
-s