On 06/02/07, Stephen Uhlhorn <[EMAIL PROTECTED]> wrote:
> I installed the pythonmac packages from
> http://pythonmac.org/packages/py24-fat/index.html :
>
> python2.4
> wxpython2.6
> numpy1.0.1
> matplotlib-0.87.7
>
> I called python with 'pythonw' and figure() draws a new figure window,
> but it hangs.
>
> Here are the relevant lines from my matplotlibrc file:
>
> #### CONFIGURATION BEGINS HERE -------------------
> backend      : WXAgg
> numerix      : numpy  # numpy, Numeric or numarray
> interactive  : True      # see
> http://matplotlib.sourceforge.net/interactive.html
> #toolbar      : toolbar2   # None | classic | toolbar2
> #timezone     : UTC        # a pytz timezone string, eg US/Central or
> Europe/Paris
> #datapath : /home/jdhunter/mpldata
>
> Is this a misconfigured rc file? Or, should I be using ipython to
> handle the gui stuff?
>
> If I use ipython, what's the best way to install? From source? Python egg?
>
> Thanks
> -stephen

I had the same problem. Either you need to use TkAgg backend, or use ipython.

making it from source is easy.

Get ipython-0.7.3.tar.gz  from http://ipython.scipy.org/dist/

Expand it

cd .../ipython-0.7.3
sudo python setup.py install

This puts executables into /Library/Frameworks/Python.framework/Versions/2.4/bin

You need to make sure they are in your path either by adding
/Library/Frameworks/Python.framework/Versions/2.4/bin to your path, or
making symbolic links to a directory in your path.
e.g. I did
cd /usr/local/bin/
sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/ipython .
sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/irunner  .
sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/pycolor  .
rehash

HTH. George Nurser.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to