Path: csiph.com!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.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; 'subject:error': 0.03; 'importerror:': 0.07; 'upgraded': 0.07; '51,': 0.09; 'matplotlib': 0.09; 'namespace': 0.09; 'referenced': 0.09; 'python': 0.11; '170,': 0.16; '2):': 0.16; '33,': 0.16; 'numpy': 0.16; 'skip:" 100': 0.16; 'skip:d 110': 0.16; 'subject:import': 0.16; '>>>': 0.22; 'import': 0.22; 'install': 0.23; 'error': 0.23; 'skip:_ 20': 0.27; 'installed': 0.27; 'tried': 0.27; 'message- id:@mail.gmail.com': 0.30; '"",': 0.31; '13,': 0.31; 'fine,': 0.31; 'file': 0.32; 'worked': 0.33; '(most': 0.33; 'skip:_ 10': 0.34; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'in:': 0.36; 'skip:" 50': 0.36; 'error.': 0.37; 'received:209': 0.37; 'expected': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'flat': 0.60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=iDEFmxJLDY/wbM//xWJPkxBejNquQ5gZ52HndtqDGmM=; b=oT54FsMpsfC8EiEnPidg0+WmrHX5Sg2+Yt+yN6QGkmtruW6oSwP9jMCf1+7OF7fr4X 7P+lVR2NadG+9hMgwmo/oMAlQTLnCd9aLaEkd61fUlknnOVVghATy+38GmxkYR59SsQ/ Uc20PwVD8zlIEghzm3qrm3utM6654sSQCeAeJQDBela/cCEdSc2D2lG/uAA3k4J07TGE 8WGXz8tvZ5+T1uB4AxLRBtlBIIJ8/oI5bFkkJj1kr7z4ebKJFgItDFMG6yzl2rlL1jiw rZuOMz8opC3DyIyV+cwFqhkFh6B9g1zc5ssQ/dYvXgRptbTnzyRbJsdsGWAZevXEO3oK jEiA== MIME-Version: 1.0 X-Received: by 10.112.130.232 with SMTP id oh8mr1616432lbb.21.1423240440984; Fri, 06 Feb 2015 08:34:00 -0800 (PST) Date: Fri, 6 Feb 2015 08:34:00 -0800 Subject: Matplotlib import error From: C Smith To: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 38 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423240449 news.xs4all.nl 2899 [2001:888:2000:d::a6]:52069 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85296 I had python 2.7.6 installed on OS X yosemite, which has always worked fine, until I tried to install matplotlib with pip. I got the same error below and upgraded to 2.7.9, used pip to upgrade all the packages, but still get the same error. >>> import matplotlib Traceback (most recent call last): File "", line 1, in File "/Library/Python/2.7/site-packages/matplotlib/__init__.py", line 180, in from matplotlib.cbook import is_string_like File "/Library/Python/2.7/site-packages/matplotlib/cbook.py", line 33, in import numpy as np File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.py", line 170, in from . import add_newdocs File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in from numpy.lib import add_newdoc File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/__init__.py", line 18, in from .polynomial import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 19, in from numpy.linalg import eigvals, lstsq, inv File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 51, in from .linalg import * File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 29, in from numpy.linalg import lapack_lite, _umath_linalg ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so, 2): Symbol not found: __gfortran_compare_string Referenced from: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so Expected in: flat namespace in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so