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 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
-- 
View this message in context: 
http://old.nabble.com/Can%27t-install-from-PyPi-tp32404788p32404788.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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