Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'error:': 0.05; 'importerror:': 0.05; 'scipy': 0.05; "'')": 0.07; '64-bit': 0.07; 'python': 0.09; '32-bit': 0.09; 'issue?': 0.09; 'matplotlib': 0.09; 'packages.': 0.15; '2.7.3': 0.16; '3)]': 0.16; 'numpy': 0.16; 'intel': 0.17; 'issue,': 0.17; 'resolved': 0.17; '>>>': 0.18; 'import': 0.21; 'received:209.85.214.174': 0.21; '"",': 0.22; 'x-mailer:apple mail (2.1084)': 0.22; 'installed': 0.23; 'appreciated.': 0.26; 'thanks!': 0.26; '(most': 0.27; 'core': 0.27; 'subject:/': 0.28; 'skip:( 20': 0.28; 'run': 0.28; 'received:192.168.1.3': 0.29; 'skip:_ 10': 0.29; 'install': 0.29; 'that.': 0.30; 'error': 0.30; 'point': 0.31; 'file': 0.32; 'running': 0.32; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'message-id:@gmail.com': 0.36; 'subject:with': 0.36; 'charset:us-ascii': 0.36; 'skip:p 20': 0.36; 'received:209': 0.37; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'received:192': 0.39; 'build': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'help': 0.40; 'header:Message-Id:1': 0.62; 'different': 0.63; 'more': 0.63; '128,': 0.84; '4.2.1': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=IIjAnnZ6GMSEkRSr0lwkFO1vCubF44QIRLybCawHGcQ=; b=s/w2qMNt7ICe+Q8qLWY4auW0ae2oklbvjAW0C1JamUpswU2nsMVR3xpGfiN1kgIWOS jt8cpgyrONOoODBArY2t/B5A+fcEL/dgaw/sBBxv80HaAeeEcXqF9kmbG3AZbBXbvSVi rtmB2fRfFD1jCqi9294xuzZTWZNH18cnFaSWaW2mfwslj3Z3w1aIk/wif1kMeZz+zqI/ 4KwPigvNkz/zHYurUU6+XSW5WJlhcLfes9cO7E7EdGURH72yEAcXIMOTym/QrWqvlnRj /BRj2c5LNJ81zr9XumJq63kdv0WopQ8dWTNCFextzAJ5WyVL4U3gdX53QYHC7AzY2Jms fgwg== From: Stephen Webb Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: git_revision issues with scipy/numpy/matplotlib Date: Fri, 6 Jul 2012 23:47:56 -0600 To: python-list@python.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1341640081 news.xs4all.nl 6841 [2001:888:2000:d::a6]:39847 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25001 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)=20 [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 "", line 1, in File = "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-pack= ages/numpy/__init__.py", line 128, in 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=