Alas, tried the easy_install matplotlib. It downloaded and installed  
matplotlib, but didn't install wx, so I got this error:

 >>> from pylab import *;
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib-0.90.0-py2.5-macosx-10.4-fat.egg/ 
pylab.py", line 1, in <module>
     from matplotlib.pylab import *
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib-0.90.0-py2.5-macosx-10.4-fat.egg/ 
matplotlib/pylab.py", line 222, in <module>
     new_figure_manager, draw_if_interactive, show = pylab_setup()
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib-0.90.0-py2.5-macosx-10.4-fat.egg/ 
matplotlib/backends/__init__.py", line 24, in pylab_setup
     globals(),locals(),[backend_name])
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/matplotlib-0.90.0-py2.5-macosx-10.4-fat.egg/ 
matplotlib/backends/backend_wxagg.py", line 19, in <module>
     import wx
ImportError: No module named wx
 >>>


When I tried to use easy_install to install wxPython, I got this:

Computer:/Users/simsong root# easy_install wxPython
Searching for wxPython
Reading http://cheeseshop.python.org/pypi/wxPython/
Reading http://wxPython.org/
Reading http://wxPython.org/download.php
Reading http://cheeseshop.python.org/pypi/wxPython/2.6.3.2
Best match: wxPython src-2.8.3.0
Downloading http://prdownloads.sourceforge.net/wxpython/wxPython- 
src-2.8.3.0.tar.bz2
Processing wxPython-src-2.8.3.0.tar.bz2
error: Couldn't find a setup script in /tmp/easy_install-UB-WlK/ 
wxPython-src-2.8.3.0.tar.bz2
Computer:/Users/simsong root#

Why do we make this so hard?

The wyPython page for Mac says:

========

Mac OS X

wxPython needs a special Mac OS X-specific build of Python, called a  
Framework build, in order to work. Panther and Tiger include a  
Framework build of Python 2.3, but on Jaguar you'll need to get the  
MacPython installer from Jack's MacPython page.
============
(I really can't keep track of all these cat names. )

Then I need to choose one of 8 different versions to install,  
dependin gon whether I am using py2.3, 2.4 or 2.5, and whether I want  
unicode or ansi, and whether I want PPC or Universal.

But I finally got it installed. Thanks.


On Apr 4, 2007, at 7:38 AM, Edin Salkovic wrote:

> On 4/4/07, Simson Garfinkel <[EMAIL PROTECTED]> wrote:
>> 2. How do I install an EGG file?
>
> For detailed instructions about eggs see:
> http://peak.telecommunity.com/DevCenter/EasyInstall
>
> Quick instructions:
> Download:
> http://peak.telecommunity.com/dist/ez_setup.py
> and run it.
>
> then run
> easy_install matplotlib
> or
> easy_install /path/to/matplotlib-xxx.egg
>
>
> HTH,
> Edin
>




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to