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.
···
On 06/02/07, Stephen Uhlhorn <suhlhorn@...287...> wrote:
I installed the pythonmac packages from
Mac OS X Python Packages for Universal Python 2.4 on Mac OS X 10.3.9 and later (Intel and PPC) :
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
Thanks. Ipython worked like a charm. Are there any plans of putting
ipython up with the other macpython packages? It seems like it's a
pretty important piece of the mac/mpl puzzle.
-stephen
···
On 2/6/07, George Nurser <gnurser@...982...> wrote:
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.