I have little to no experience with py2exe, so I don't know how much I 
can help there.

However, between 1.2.1 and 1.3.0, mpl_toolkits was changed to a 
"namespace" package, which allowed basemap to install into it despite it 
coming from matplotlib (and being installed with setuptools).  I don't 
know if that has any bearing on py2exe.

Mike

On 08/06/2013 07:19 AM, ruidc wrote:
> we have some code that was working fine with matplotlib 1.2.1 using:
>
> from mpl_toolkits.axes_grid import make_axes_locatable, axes_size
>
> now trying to freeze with py2exe (both 0.6.9 and Christoph Gohlke's
> 0.6.10dev)
> results in ImportError: No module named mpl_toolkits
>
> when preparing the actual executable.
> running  "from mpl_toolkits.axes_grid import make_axes_locatable, axes_size"
> itself in python works fine.
>
> I've built a machine afresh and am getting this. Also, it seems to build
> fine on win amd64 - but as that is my main development machine, there may be
> some polution there
>
> options={'py2exe': {'packages' : ['matplotlib', 'mpl_toolkits', ...
>
> I've tried various different permutations of the above in includes with no
> success.
> Can anybody suggest why this is failing in 1.3.0 when it is working in 1.2.1
> ?
>
> Regards,
> RuiDC
>
>
>
> --
> View this message in context: 
> http://matplotlib.1069221.n5.nabble.com/1-3-0-and-py2exe-regression-tp41723.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Get your SQL database under version control now!
> Version control is standard for application code, but databases havent
> caught up. So what steps can you take to put your SQL databases under
> version control? Why should you start doing it? Read more to find out.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to