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't-install-from-PyPi-tp32404788p32404788.html
Sent from the matplotlib - users mailing list archive at Nabble.com.