Re: Problem installing matplotlib 1.3.1 with Python 2.7.6 and 3.3.3 (release candidate 1)

2013-11-03 Thread Georg Brandl
Am 04.11.2013 01:59, schrieb Ned Deily:
> In article <21110.62791.44734.656...@cochabamba.vanoostrum.org>,
>  Piet van Oostrum  wrote:
>> I tried to install matplotlib 1.3.1 on the release candidates of Python 
>> 2.7.6 
>> and 3.3.3.
> 
> [...]
> 
> Please open an issue on the Python bug tracker for the Python component of 
> this.
> 
> http://bugs.python.org

And please mark as release blocker, I think this should go into 3.3.3rc2.

Georg

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Problem installing matplotlib 1.3.1 with Python 2.7.6 and 3.3.3 (release candidate 1)

2013-11-03 Thread Ned Deily
In article <21110.62791.44734.656...@cochabamba.vanoostrum.org>,
 Piet van Oostrum  wrote:
> I tried to install matplotlib 1.3.1 on the release candidates of Python 2.7.6 
> and 3.3.3.

[...]

Please open an issue on the Python bug tracker for the Python component of 
this.

http://bugs.python.org

-- 
 Ned Deily,
 n...@acm.org

-- 
https://mail.python.org/mailman/listinfo/python-list


Problem installing matplotlib 1.3.1 with Python 2.7.6 and 3.3.3 (release candidate 1)

2013-11-03 Thread Piet van Oostrum
Hello,

I tried to install matplotlib 1.3.1 on the release candidates of Python 2.7.6 
and 3.3.3.
I am on Mac OS X 10.6.8.
Although the installation gave no problems, there is a problem with Tcl/Tk.

The new Pythons have their own embedded Tcl/Tk, but when installing matplotlib 
it links to the Frameworks version of Tcl and TK, not to the embedded version. 
This causes confusion when importing matplotlib.pyplot:

objc[70648]: Class TKApplication is implemented in both 
/Library/Frameworks/Python.framework/Versions/2.7/lib/libtk8.5.dylib and 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. 
Which one is undefined.
objc[70648]: Class TKMenu is implemented in both 
/Library/Frameworks/Python.framework/Versions/2.7/lib/libtk8.5.dylib and 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. 
Which one is undefined.
objc[70648]: Class TKContentView is implemented in both 
/Library/Frameworks/Python.framework/Versions/2.7/lib/libtk8.5.dylib and 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. 
Which one is undefined.
objc[70648]: Class TKWindow is implemented in both 
/Library/Frameworks/Python.framework/Versions/2.7/lib/libtk8.5.dylib and 
/Library/Frameworks/Tk.framework/Versions/8.5/Tk. One of the two will be used. 
Which one is undefined.

And then later it gives a lot of error messages.

So I think it should be linked to the embedded version. For this the matplotlib 
setupext.py should be adapted to find out if there is an embedded Tcl/Tk in the 
Python installation and set the link parameters accordingly. However, the 
installed Python versions (from the DMG's) do not contain the Tcl/Tk header 
files, only the shared library and the tcl files. So I thing the distributed 
Python should also include the Tcl/Tk header files.
-- 
Piet van Oostrum 
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
-- 
https://mail.python.org/mailman/listinfo/python-list