SourceForge logo
SourceForge logo
Menu

matplotlib-users

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 Apple1s 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 didn1t help so now I1m 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
 23351500)]
 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
From: kgustaf <kyl...@un...> - 2012年03月27日 15:34:14
Hello William - did you manage to solve this problem without resorting to
building from source?
Thanks!
-- 
View this message in context: http://old.nabble.com/Having-trouble-installing-matplotlib-on-Mac-OS-X-Lion-tp32222373p33544787.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: eoj <jos...@gm...> - 2012年04月01日 02:04:33
Hi, 
 Have you tried the EPD python installation, it works for me and includes
SciPY/Numpy/ etc. 
http://www.enthought.com/products/epd_free.php
Cheers, 
Joe
William Carithers wrote:
> 
> 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 Apple1s 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 didn1t help so now I1m 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
> 23351500)]
> 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
> 
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model 
> configuration take the hassle out of deploying and managing Subversion and 
> the tools developers use with it. Learn more about uberSVN and get a free 
> download at: http://p.sf.net/sfu/wandisco-dev2dev
> 
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
> 
-- 
View this message in context: http://old.nabble.com/Having-trouble-installing-matplotlib-on-Mac-OS-X-Lion-tp32222373p33544963.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
From: Russell E. O. <ro...@uw...> - 2012年04月05日 23:32:13
In article <CA65B53A.23941%wcc...@lb...>,
 Bill Carithers <wcc...@lb...> wrote:
> 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 Apple1s 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 didn1t help so now I1m stuck.
> 
> Any suggestions?
I personally would not try to mess with Apple's python. It's safer to 
leave it alone, and it is not upgrade very often.
My personal favorite option:
- install python.org's python
- install the official binary installers for numpy and matplotlib (both 
of which assume python.org's python)
You can use other standard distributions of Python including:
- fink
- MacPorts
- Enthought's python distribution
most or all of these come with their own versions of numpy and 
matplotlib (though in the case of fink and MacPorts you have to 
explicitly install them).
-- Russell
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /