Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25001

git_revision issues with scipy/numpy/matplotlib

From Stephen Webb <sdavis.webb@gmail.com>
Subject git_revision issues with scipy/numpy/matplotlib
Date 2012-07-06 23:47 -0600
Newsgroups comp.lang.python
Message-ID <mailman.1882.1341640081.4697.python-list@python.org> (permalink)

Show all headers | View raw


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.
>>> import numpy
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.:

>>> import platform
>>> platform.architecture()
('64bit', '')

but I would have thought the MacPorts install would have resolved that.

Any help would be appreciated.

Thanks!

-s

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

git_revision issues with scipy/numpy/matplotlib Stephen Webb <sdavis.webb@gmail.com> - 2012-07-06 23:47 -0600
  Re: git_revision issues with scipy/numpy/matplotlib Hans Mulder <hansmu@xs4all.nl> - 2012-07-07 12:18 +0200
    Re: git_revision issues with scipy/numpy/matplotlib Ousmane Wilane <ousmane@wilane.org> - 2012-07-07 14:09 +0200
      Re: git_revision issues with scipy/numpy/matplotlib Hans Mulder <hansmu@xs4all.nl> - 2012-07-07 16:40 +0200
        Re: git_revision issues with scipy/numpy/matplotlib Stephen Webb <sdavis.webb@gmail.com> - 2012-07-07 09:57 -0600

csiph-web