[Matplotlib-users] Can't install from PyPi
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
Re: [Matplotlib-users] Can't install from PyPi
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, inmodule File /Users/dpo/.virtualenvs/tsp/build/matplotlib/setup.py, line 162, inmodule 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
Re: [Matplotlib-users] Can't install from PyPi
efiring wrote: 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, inmodule File /Users/dpo/.virtualenvs/tsp/build/matplotlib/setup.py, line 162, inmodule 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. You may want to upload the fix to PyPi. That's where most people look for matplotlib I would guess. -- View this message in context: http://old.nabble.com/Can%27t-install-from-PyPi-tp32404788p32405040.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