On 09/05/2011 03:01 PM, dpo wrote:
>
> Hi,
>
> Upon trying to install Matplotlib from PyPi, I get the following error
> message:
>
> ---
>     Traceback (most recent call last):
>        File "<string>", line 14, in<module>
>        File "/Users/dpo/.virtualenvs/tsp/build/matplotlib/setup.py", line
> 162, in<module>
>          if check_for_tk() or (options['build_tkagg'] is True):
>        File "setupext.py", line 832, in check_for_tk
>          (Tkinter.__version__.split()[-2], Tkinter.TkVersion,
> Tkinter.TclVersion))
>      IndexError: list index out of range
>      Complete output from command python setup.py egg_info:
>      basedirlist is: []
> ---

This is fixed in the git repo.  I think it is a problem that arises only 
with some builds of Python 2.7.

Eric

>
> This concerns Matplotlib 1.0.1 on OSX 10.6.8 with Python 2.7 (home built as
> a framework via Homebrew) in a virtual environment (if that matters).
>
> Changing line 832 of setupext.py from
>
>          (Tkinter.__version__.split()[-2], Tkinter.TkVersion,
> Tkinter.TclVersion))
>
> to
>
>          (Tkinter.__version__, Tkinter.TkVersion, Tkinter.TclVersion))
>
> works, but this is the output I get during the build:
>
>        Tkinter: Tkinter: $Revision$
>
>
> Dominique


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to