From: Bill C. <wcc...@lb...> - 2011-08-08 22:46:14
|
Hi all, I had matplotlib-0.99.1.1 working with Python 2.6 on OS X v10.6(Snow Leopard). Today I upgraded to Lion (v10.7) and matplotlib had disappeared. Lion ships with Apple¹s version of Python 2.7. Even when I look back at Python 2.6 in the /System/Library/Frameworks/Python/Version/Python2.6, it seems to be gone. OK, I thought I would install matplotlib-1.0.1 in Python 2.7 using easy_install. It failed when unable to find the headers for numpy (terminal output below). Lion comes with numpy 1.5.1 pre-installed. I tried re-installing numpy but that didn¹t help so now I¹m stuck. Any suggestions? Thanks. c4-2c-3-1-f0-3a:matplotlib-1.0.1 williamcarithers$ sudo easy_install matplotlib Searching for matplotlib Reading http://pypi.python.org/simple/matplotlib/ Reading http://matplotlib.sourceforge.net Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0. 1/ Reading http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 Reading http://sourceforge.net/project/showfiles.php?group_id=80706 Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=8247 4 Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99 .1/ Reading https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=2781 94 Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99 .3/ Reading https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0 Best match: matplotlib 1.0.1 Downloading http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1 /matplotlib-1.0.1.tar.gz/download Processing matplotlib-1.0.1.tar.gz Running matplotlib-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-OI8zuY/matplotlib-1.0.1/egg-dist-tmp-3EXRXm basedirlist is: [] ============================================================================ BUILDING MATPLOTLIB matplotlib: 1.0.1 python: 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.5.1 * Could not find the headers for numpy. You may * need to install the development package. error: Setup script exited with 1 |