Hello Matplotlib Users and Developers,
I found some examples of setup.py over the internet to be used for
matplotlib with py2exe , i have attached a modified sample that i am
using for my program . Additionally i get the following error when i run
the exe.
==
I did reinstall my python with Python 2.5.1, Matplotlib 0.9, wxpython 2.8.4
and then it now works.
Thanx
Best Regards
Robert
rfv-370 wrote:
>
> I run on WinXP with
> matplotlib 0.9.0
> python 2.4.3 (enthought edition)
> wx.VERSION_STRING = 2.6.3.3
>
>
> rfv-370 wrote:
>>
>> Hello werner,
>>
Hi Robert,
If your app is wxPython based then I would use the attached as a test
case and not the simple_plot one.
Then if you don't use wxPython Unicode 2.6.x then you need to follow
Andrea's work around.
matplotlib/backends/_wxagg.pyd
to
matplotlib/backends/_wxagg not used.pyd
Hope th
Hi Werner,
I am using matplotlib version 0.90.0 for python 2.4.
Thank you,
Archana.
On 4/12/07, Grant Edwards <[EMAIL PROTECTED]> wrote:
On 2007-04-01, Werner F. Bruhin <[EMAIL PROTECTED]> wrote:
> Hi Archana,
>
> Sometimes py2exe can't figure out what needs to be included. In these
> cases
On 2007-04-01, Werner F. Bruhin <[EMAIL PROTECTED]> wrote:
> Hi Archana,
>
> Sometimes py2exe can't figure out what needs to be included. In these
> cases one creates entries in the packages section to force the inclusion
> of one or multiple packages.
>
> Archana Ganesan wrote:
>> Hi all,
>> ..
Hi Werner,
I tried what you suggested, using the setup file you had provided for
simple_plot.py. But I get the following error, what should I do abt this?
Traceback (most recent call last):
File "simple_plot.py", line 1, in ?
File "pylab.pyo", line 1, in ?
File "matplotlib\pylab.pyo", line 203
Hi Emmanuel,
Maybe your problem has to do with your "enthought" build of wxPython. I
use standard builds from wxPython site.
Emmanuel wrote:
> when putting the full path of wxmsw26u_vc_enthought.dll in setup.py
> like this
>
> data_files = [("lib\\matplotlibdata", mpfiles),
>
when putting the full path of wxmsw26u_vc_enthought.dll in setup.py like
this
data_files = [("lib\\matplotlibdata", mpfiles),
matplotlib.get_py2exe_datafiles(), # if you don't use
the lib option
"C:\\Python24\\Lib\\site-packages\\wx-
2.6.1.0-py2.4-win32.egg\\wx\\wxmsw26u_vc_en
Can I post also in that thread or should I open a new one?
I'm also trying the first Werner F. Bruhin example. I saved the setup.py and
the example in embedding_in_wx4.py then I run
python.exe setup.py py2exe bdist
When looking for dll, it fails claiming:
Error: wxmsw26u_vc_enthought.dll : No
Hi Archana,
Archana Ganesan wrote:
> ...
> trial.py is as follows.
>
> from pylab import *
>
> x = xrange(10)
> plot(x)
> savefig("trial.png")
>
The setup.py you are using will not work, it is meant for a matplotlib
embedded in wx, and even for that some lines are commented out.
Can you try the
Hii,
I get the following error.
Traceback (most recent call last):
File "trial.py", line 1, in ?
File "pylab.pyo", line 1, in ?
File "matplotlib\pylab.pyo", line 203, in ?
File "matplotlib\axes.pyo", line 16, in ?
File "matplotlib\axis.pyo", line 19, in ?
File "matplotlib\patches.pyo", line
Hi Giorgio,
Had a quick look at pylab based scripts and got an error on
backend_tkagg when py2exe it. It looks like one needs to force the
backend to be included, I used tkagg but you would have to replace that
with wxagg for your script.
Attached is a setup.py and from the examples the fil
Hi Giorgio,
Giorgio Luciano wrote:
> Hello Werner,
> and thank for the reply I've tried to recompile everything. The file
> you sent in the mailing list give me the problem of wxmsw26uh_vc.dll
> (and also dll missing while compiling)
For the wxmsw26uh_vc.dll you need to rename the .pyd file as m
Hi Daniel,
Daniel Stalder wrote:
> Hello
>
> I saw your thread and I have a related problem.
> I use matplotlib (0.90.0.win32-py2.5) with wxPython
> (2.8-win32-unicode-2.8.3.0-py25).
> I use matplotlib with WXAgg and got the following error msg:
> "This application has failed to start because wxms
ith previous versions of both libraries.
Thanks for any help
Daniel
-Original Message-
From: Werner F. Bruhin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 April 2007 2:58 a.m.
To: [EMAIL PROTECTED]; matplot
Subject: Re: [Matplotlib-users] matplotlib and py2exe
Hi Giorgio,
Giorgio Luciano wro
Hi Giorgio,
Giorgio Luciano wrote:
> Hello Werner,
> here is the file I try to compile.
> It gave an error of missing DLL when i try to launch :(
> no Idea why, since with you example everything works
> (I'm using maplotlib 0.87.7)
I assume the DLL not found is "wxmsw26uh_vc.dll" at least I believ
Hello Werner,
here is the file I try to compile.
It gave an error of missing DLL when i try to launch :(
no Idea why, since with you example everything works
(I'm using maplotlib 0.87.7)
Giorgio
import pylab as pyl
from sci
I tried to compile the file and it seems to work (send by Werner).
I'm also interested in the problem since I cannot succeed in compiling
too with matplotlib (already followed the instruction found on py2exe)
Hope to see how it develop and happy to know if anyone succeed in doing it
Giorgio
>
Hi Archana,
Archana Ganesan wrote:
> Hi,
>
> I tried following the instructions at the py2exe site and I have also
> uncommeneted and made it include the matplotlib.numerix package. Still
> it doesnt seem to work. Is there any other way of compiling it into an
> executable?
Did you try to compi
Hi,
I tried following the instructions at the py2exe site and I have also
uncommeneted and made it include the matplotlib.numerix package. Still it
doesnt seem to work. Is there any other way of compiling it into an
executable?
Thanks,
Archana.
On 4/1/07, Werner F. Bruhin <[EMAIL PROTECTED]> wr
Hi Archana,
Sometimes py2exe can't figure out what needs to be included. In these
cases one creates entries in the packages section to force the inclusion
of one or multiple packages.
Archana Ganesan wrote:
> Hi all,
> ...
>
> options = {"py2exe": {"compressed": 1,
> "opti
Archana Ganesan wrote:
> Hi all,
>
> The exception I get is
> Traceback (most recent call last):
> File "App1.py", line 6, in ?
> File "Frame1.pyc", line 9, in ?
> File "Simulation.pyc", line 16, in ?
> File "pylab.pyc", line 1, in ?
> File "matplotlib\pylab.pyc", line 199, in ?
> File
import numpy and import matplotlib does work in the interactive python
shell.
thanks,
Archana.
On 3/31/07, Tommy Grav <[EMAIL PROTECTED]> wrote:
I do not immediately see why the error occurs. Hopefully someone else
can add their input. Off the cuff it seems like matplotlib has not been
instal
I do not immediately see why the error occurs. Hopefully someone else
can add their input. Off the cuff it seems like matplotlib has not been
installed properly. Can you confirm that import numpy and import
matplotlib works in the interactive python shell.
Cheers
Tommy
[EMAIL PROTECTED] /User
Hi all,
The exception I get is
Traceback (most recent call last):
File "App1.py", line 6, in ?
File "Frame1.pyc", line 9, in ?
File "Simulation.pyc", line 16, in ?
File "pylab.pyc", line 1, in ?
File "matplotlib\pylab.pyc", line 199, in ?
File "matplotlib\cm.pyc", line 5, in ?
File "matplo
It is hard to guess what exactly your problem is as you do not
provide a code
example or the traceback call of your exception. I would venture that
you are
trying to create a num_array without having Numerix, numpy or
numarray imported
or installed on your machine.
Some more information ab
Hi all,
I have a python application that uses matplotlib.I am trying to compile it
into an executable using py2exe. I am encountering "No module named
num_array problem". I do not know how to resolve this. I notice that "
matplotlib.numerix" is in the included package. Did you encounter this
prob
Hi Archana,
Archana Ganesan wrote:
Hi all,
I have a python application that uses matplotlib. I want to compile it
into an executable. I tried using py2exe but it returned some error
w.rt matplotlib. Cpuld anyone please help me with this? Is there some
other way to get it done?
I am using ma
Hi all,
I have a python application that uses matplotlib. I want to compile it into
an executable. I tried using py2exe but it returned some error
w.rtmatplotlib. Cpuld anyone please help me with this? Is there some
other way
to get it done?
Thanks,
Archana
--
29 matches
Mail list logo