From: Hani N. <na...@gm...> - 2009-06-09 15:23:06
|
Dear all, I'm running matplotlib 0.98.5.2 on a machine with Ubuntu Intrepid 8.10. It's worked well for me so far, but I encounter problems running matplotlib when trying to update the PYTHONPATH in the .bashrc file. Adding just the line "export PYTHONPATH=$PYTHONPATH", for example, gives the following: $ ipython -pylab Traceback (most recent call last): File "/usr/bin/ipython", line 27, in <module> IPython.Shell.start().mainloop() File "/var/lib/python-support/python2.5/IPython/Shell.py", line 1219, in start shell = _select_shell(sys.argv) File "/var/lib/python-support/python2.5/IPython/Shell.py", line 1188, in _select_shell backend = matplotlib.rcParams['backend'] AttributeError: 'module' object has no attribute 'rcParams' On the other hand, $ ipython permits ipython to load seemingly normally, but in that case In [1]: import matplotlib.pyplot as plt ImportError: No module named pyplot Any ideas on what might be wrong? I'd be grateful for any advice. Thanks, Hani Nakhoul |