On 6/13/06, Norman Guinasso <[EMAIL PROTECTED]> wrote:
> I can't get import pylab to work. My matplotlabrc file and some ipython
> output is attached. The font manager seems to fail. Any suggestions?

> C:\Python24\lib\ntpath.py in splitdrive(p)
>      117     """Split a pathname into drive and path specifiers. Returns
> a 2-tupl
> e
>      118 "(drive,path)";  either part may be empty"""
> --> 119     if p[1:2] == ':':
>      120         return p[0:2], p[2:]
>      121     return '', p
>
> TypeError: unsubscriptable object

As a general suggestion in your case, and for other mpl/ipython users
reporting problems: always set

xmode verbose

before sending your traceback.  This will generate an extremely
detailed traceback, which may contain valuable info for the
developers, thus making it more likely that they can help you.  Given
how often the devs will not be able to directly reproduce the problem
(lacking your exact hardware/software/configuration combination), such
a traceback may be the only way for them to guess what's going on.

As for your specific problem, I don't know :)

Cheers,

f


_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to