You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
(5) |
2
(24) |
3
(2) |
4
|
5
(4) |
6
(1) |
7
(22) |
8
(9) |
9
(23) |
10
(6) |
11
|
12
(7) |
13
(17) |
14
(12) |
15
(10) |
16
(22) |
17
(11) |
18
(6) |
19
(11) |
20
(13) |
21
(10) |
22
(7) |
23
(7) |
24
(5) |
25
(3) |
26
(20) |
27
(17) |
28
(25) |
29
(16) |
30
(17) |
31
(8) |
From: Robert K. <rob...@gm...> - 2007-03-31 23:56:23
|
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 "matplotlib\cm.pyc", line 5, in ? > File "matplotlib\colors.pyc", line 33, in ? > File "matplotlib\numerix\__init__.pyc", line 147, in ? > ImportError: No module named random_array Did you follow these instructions? http://www.py2exe.org/index.cgi/MatPlotLib -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
From: Archana G. <arc...@gm...> - 2007-03-31 23:52:29
|
import numpy and import matplotlib does work in the interactive python shell. thanks, Archana. On 3/31/07, Tommy Grav <tg...@ma...> 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 > installed properly. Can you confirm that import numpy and import > matplotlib works in the interactive python shell. > > Cheers > Tommy > > [tgrav@Thrym] /Users/tgrav --> python > Python 2.4.4 (#1, Oct 18 2006, 10:34:39) > [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import numpy > >>> import matplotlib > >>> from matplotlib.numerix import * > >>> random_array > <module 'matplotlib.numerix.random_array' from > '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/numerix/random_array/__init__.pyc'> > >>> numpy.__version__ > '1.0.1.dev3436' > >>> matplotlib.__version__ > '0.87.7' > >>> > > so random_array works fine in my version > > > On Mar 31, 2007, at 4:26 PM, 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 "matplotlib\cm.pyc", line 5, in ? > File "matplotlib\colors.pyc", line 33, in ? > File "matplotlib\numerix\__init__.pyc", line 147, in ? > ImportError: No module named random_array > > I have numpy installed in site-packages. The setup.py that I am using is > as follows: > > Thanks, > Archana. > > > from distutils.core import setup > import os > from os.path import join > import shutil > > import glob > import py2exe > from py2exe.build_exe import py2exe > import sys > > import matplotlib > mpdir, mpfiles = matplotlib.get_py2exe_datafiles() > > # cleanup dist and build directory first (for new py2exe version) > if os.path.exists("dist/prog"): > shutil.rmtree("dist/prog") > > if os.path.exists("dist/lib"): > shutil.rmtree ("dist/lib") > > if os.path.exists("build"): > shutil.rmtree("build") > > options = {"py2exe": {"compressed": 1, > "optimize": 2, > "packages": ["encodings", > ## "kinterbasdb", > "pytz.zoneinfo.UTC", > #" matplotlib.numerix", > > ## "email", > ##"numpy" > ## "PIL", > ], > "excludes": ["MySQLdb", "Tkconstants", "Tkinter", > "tcl", > "orm.adapters.pgsql ", " > orm.adapters.mysql" > ], > "dll_excludes": ["tcl84.dll", "tk84.dll", > "wxmsw26uh_vc.dll"] > } > } > zipfile = r"lib\library.zip" > > setup( > classifiers = ["Copyright:: your name", > "Development Status :: 5 Stable", > "Intended Audience :: End User", > "License :: Shareware", > "Operating System :: Microsoft :: Windows 2000", > "Operating System :: Microsoft :: Windows XP", > "Operating System :: Microsoft :: Windows 9x", > "Programming Language :: Python, wxPython", > "Topic :: Home Use" > "Natural Language :: German", > "Natural Language :: French", > "Natural Language :: English"], > # windows = [wx_emb], > #console = [twcb], > options = options, > zipfile = zipfile, > data_files = [("lib\\matplotlibdata", mpfiles), > matplotlib.get_py2exe_datafiles() # if you don't use > the lib option > #### ("prog\\amaradata", amaradata), > #### ("prog\\amaradata\\Schemata", amaraschemata), > #### ("prog\\", python4dll) > ] > ) > > > On 3/31/07, Tommy Grav <tg...@ma...> wrote: > > > > 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 about your troubles would be needed to really help > > you out. > > > > Cheers > > Tommy > > > > > > On Mar 31, 2007, at 3:50 PM, Archana Ganesan wrote: > > > > 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 > > problem. I am very new to this and I have to get it done by tomm. So I am > > sorry if it is really silly. > > > > Thanks, > > > > Archana. > > > > > > On 3/31/07, Archana Ganesan < arc...@gm... > 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? > > > > > > Thanks, > > > Archana > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
From: Tommy G. <tg...@ma...> - 2007-03-31 23:12:35
|
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 [tgrav@Thrym] /Users/tgrav --> python Python 2.4.4 (#1, Oct 18 2006, 10:34:39) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import numpy >>> import matplotlib >>> from matplotlib.numerix import * >>> random_array <module 'matplotlib.numerix.random_array' from '/Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/ numerix/random_array/__init__.pyc'> >>> numpy.__version__ '1.0.1.dev3436' >>> matplotlib.__version__ '0.87.7' >>> so random_array works fine in my version On Mar 31, 2007, at 4:26 PM, 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 "matplotlib\cm.pyc", line 5, in ? > File "matplotlib\colors.pyc", line 33, in ? > File "matplotlib\numerix\__init__.pyc", line 147, in ? > ImportError: No module named random_array > > I have numpy installed in site-packages. The setup.py that I am > using is as follows: > > Thanks, > Archana. > > > from distutils.core import setup > import os > from os.path import join > import shutil > > import glob > import py2exe > from py2exe.build_exe import py2exe > import sys > > import matplotlib > mpdir, mpfiles = matplotlib.get_py2exe_datafiles() > > # cleanup dist and build directory first (for new py2exe version) > if os.path.exists("dist/prog"): > shutil.rmtree("dist/prog") > > if os.path.exists("dist/lib"): > shutil.rmtree ("dist/lib") > > if os.path.exists("build"): > shutil.rmtree("build") > > options = {"py2exe": {"compressed": 1, > "optimize": 2, > "packages": ["encodings", > ## "kinterbasdb", > "pytz.zoneinfo.UTC", > #" matplotlib.numerix", > > ## "email", > ##"numpy" > ## "PIL", > ], > "excludes": ["MySQLdb", "Tkconstants", > "Tkinter", "tcl", > "orm.adapters.pgsql ", > "orm.adapters.mysql" > ], > "dll_excludes": ["tcl84.dll", "tk84.dll", > "wxmsw26uh_vc.dll"] > } > } > zipfile = r"lib\library.zip" > > setup( > classifiers = ["Copyright:: your name", > "Development Status :: 5 Stable", > "Intended Audience :: End User", > "License :: Shareware", > "Operating System :: Microsoft :: Windows 2000", > "Operating System :: Microsoft :: Windows XP", > "Operating System :: Microsoft :: Windows 9x", > "Programming Language :: Python, wxPython", > "Topic :: Home Use" > "Natural Language :: German", > "Natural Language :: French", > "Natural Language :: English"], > # windows = [wx_emb], > #console = [twcb], > options = options, > zipfile = zipfile, > data_files = [("lib\\matplotlibdata", mpfiles), > matplotlib.get_py2exe_datafiles() # if you > don't use the lib option > #### ("prog\\amaradata", amaradata), > #### ("prog\\amaradata\\Schemata", amaraschemata), > #### ("prog\\", python4dll) > ] > ) > > > On 3/31/07, Tommy Grav <tg...@ma...> wrote: > 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 about your troubles would be needed to really > help you out. > > Cheers > Tommy > > > On Mar 31, 2007, at 3:50 PM, Archana Ganesan wrote: > >> 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 problem. I am very new to this and >> I have to get it done by tomm. So I am sorry if it is really silly. >> >> Thanks, >> >> Archana. >> >> >> On 3/31/07, Archana Ganesan < arc...@gm... > 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? >> >> Thanks, >> Archana >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV_______________________________ >> ________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
From: Archana G. <arc...@gm...> - 2007-03-31 20:26:37
|
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 "matplotlib\colors.pyc", line 33, in ? File "matplotlib\numerix\__init__.pyc", line 147, in ? ImportError: No module named random_array I have numpy installed in site-packages. The setup.py that I am using is as follows: Thanks, Archana. from distutils.core import setup import os from os.path import join import shutil import glob import py2exe from py2exe.build_exe import py2exe import sys import matplotlib mpdir, mpfiles = matplotlib.get_py2exe_datafiles() # cleanup dist and build directory first (for new py2exe version) if os.path.exists("dist/prog"): shutil.rmtree("dist/prog") if os.path.exists("dist/lib"): shutil.rmtree("dist/lib") if os.path.exists("build"): shutil.rmtree("build") options = {"py2exe": {"compressed": 1, "optimize": 2, "packages": ["encodings", ## "kinterbasdb", "pytz.zoneinfo.UTC", #"matplotlib.numerix", ## "email", ##"numpy" ## "PIL", ], "excludes": ["MySQLdb", "Tkconstants", "Tkinter", "tcl", "orm.adapters.pgsql", "orm.adapters.mysql" ], "dll_excludes": ["tcl84.dll", "tk84.dll", "wxmsw26uh_vc.dll"] } } zipfile = r"lib\library.zip" setup( classifiers = ["Copyright:: your name", "Development Status :: 5 Stable", "Intended Audience :: End User", "License :: Shareware", "Operating System :: Microsoft :: Windows 2000", "Operating System :: Microsoft :: Windows XP", "Operating System :: Microsoft :: Windows 9x", "Programming Language :: Python, wxPython", "Topic :: Home Use" "Natural Language :: German", "Natural Language :: French", "Natural Language :: English"], # windows = [wx_emb], #console = [twcb], options = options, zipfile = zipfile, data_files = [("lib\\matplotlibdata", mpfiles), matplotlib.get_py2exe_datafiles() # if you don't use the lib option #### ("prog\\amaradata", amaradata), #### ("prog\\amaradata\\Schemata", amaraschemata), #### ("prog\\", python4dll) ] ) On 3/31/07, Tommy Grav <tg...@ma...> wrote: > > 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 about your troubles would be needed to really help > you out. > > Cheers > Tommy > > > On Mar 31, 2007, at 3:50 PM, Archana Ganesan wrote: > > 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 > problem. I am very new to this and I have to get it done by tomm. So I am > sorry if it is really silly. > > Thanks, > > Archana. > > > On 3/31/07, Archana Ganesan < arc...@gm...> 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.rtmatplotlib. Cpuld anyone please help me with this? Is there some other way > > to get it done? > > > > Thanks, > > Archana > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
From: Tommy G. <tg...@ma...> - 2007-03-31 20:17:36
|
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 about your troubles would be needed to really help you out. Cheers Tommy On Mar 31, 2007, at 3:50 PM, Archana Ganesan wrote: > 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 problem. I am very new to this and > I have to get it done by tomm. So I am sorry if it is really silly. > > Thanks, > > Archana. > > > On 3/31/07, Archana Ganesan < arc...@gm...> 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? > > Thanks, > Archana > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Archana G. <arc...@gm...> - 2007-03-31 19:50:32
|
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 problem. I am very new to this and I have to get it done by tomm. So I am sorry if it is really silly. Thanks, Archana. On 3/31/07, Archana Ganesan <arc...@gm...> 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.rtmatplotlib. Cpuld anyone please help me with this? Is there some other way > to get it done? > > Thanks, > Archana > |
From: Werner F. B. <wer...@fr...> - 2007-03-31 15:28:30
|
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 matplotlib (currently 0.90) with wxPython and py2exe (0.6.6). Attached are some sample files. I am on: # Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] # wxPython 2.8.1.1, Boa Constructor 0.5.2 And as I am still using wxPython Ansi I renamed matplotlib/backends/_wxagg.pyd to matplotlib/backends/_wxagg not used.pyd Hope this helps Werner |
From: Archana G. <arc...@gm...> - 2007-03-31 06:20:10
|
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 |
From: Tim H. <hi...@re...> - 2007-03-30 20:04:18
|
As for a good IDE. I really like eclipse with pydev. For easy student/beginner setup, easyclipse has a nice python eclipse distribution http://www.easyeclipse.org/site/distributions/index.html I think I've tried near every python IDE setup out there over the last couple years, and this one wins for me. tim > |
From: Lou P. <lou...@ya...> - 2007-03-30 17:41:08
|
I would have to agree with most of what Massimo said. When I started using matplotlib I also learned some wxPython stuff because I thought that was needed. Not a bad thing to learn, but then all the pylab references confused me. Finally, I got it straight and almost always start with import pylab now. I suspect matplotlib started out with the dream of replacing some part of MatLab, but then morphed into a nice plotting library for Python. The documentation has not shaken off that dream. Certainly, using pylab/matplotlib, iPython, and SciPy one can go vary far in getting MatLab-like environment. But that combination (or something similar) is needed beyond matplotlib. Massimo is right, the real gain is Python in combination with nice usable libraries for scientific/technical programming. Don't confuse the newbies. --- massimo sandal <mas...@un...> wrote: > > Not quite a 'development environment', but a long > way > > towards one. > > I always thought that the focus of matplotlib > towards matlab-like > interactivity is fundamentally flawed. Matlab-like > interactivity is damn > good when it is needed, but for that purpose in the > free world there are > already the good Octave, Gnuplot and Scilab. > > The big strength of matplotlib is that it is Python > -that is, it is > built on top of a general purpose language that is > both very powerful > and a breeze to code with. > > I would like to see matplotlib being pushed as a > scientific plotting > development library and environment, with pylab > being a nice add-on for > people accustomed with python and wanting a > python-friendly interactive > plot. Today matplotlib is marketed viceversa, and in > my opinion this > confuses newcomers (that see a programming language > being used as an > interactive command line environment) and doesn't > help who wants to use > matplotlib as what it is -a python library- with > full power (I was > *extremly* confused when I started to dig matplotlib > to build a wx > application and *everything* I found starting with > was a reference to > pylab...) > > So, coming back to Giorgio question, I'd like to > advice him to teach > matplotlib+scipy to his students as a programming > environment first, > letting them learn Python, and *after* showing them > that there is a > pythonic interactive environment. > > m. > -- > Massimo Sandal -- Lou Pecora, my views are my own. --------------- "I knew I was going to take the wrong train, so I left early." --Yogi Berra ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ |
From: Fernando P. <fpe...@gm...> - 2007-03-30 17:22:51
|
On 3/30/07, Mark Bakker <ma...@gm...> wrote: > I always thought ipython didn't come with a good editor. > Am I mistaken? You are not mistaken, and this is by design: ipython is not an IDE, it's the interactive component of a python workflow. As others have mentioned (thanks to all, btw), it has limited support for specifying your editor and a special command called %edit. Many people find this very useful, which is why I added it. Personally I don't use that at all. My workflow consists of an open Emacs session (with multiple frames, typically) and a terminal with ipython in it. I do the heavy-duty editing in Emacs (replace with vi, IDLE, Komodo or any other editor of your preference), save, and then run the code in the terminal via run filename Since ipython has history that backtracks on what you've typed so far, this normally just requires typing 'r' and then 'up-arrow' once. I personally don't find it any more cumbersome than hitting some F-key in an IDE, and I get the power of Emacs with the comfort of a good terminal (Konsole in my case). Others have mentioned how ipython can also be used *inside* emacs, which can be very handy for complex debugging. It's not my daily environment because I prefer Konsole to the emacs terminal, but it is certainly a good way to work for many. IPython comes from the Unix tradition of 'do one thing well and let users work whichever way they want' rather than the windows approach of 'provide a single, fully integrated mega-app'. So it is easy to use ipython with your personal combination of editor and terminal emulator, but it does NOT provide the kind of IDE feel many expect these days. Whether this particular balance is a feature or a drawback is largely dependent on personal preference, I think. We are currently refactoring ipython in a way that will make it very easy to embed all of its functionality into the terminal component of an IDE. So hopefully in the future, this discussion won't have to happen: I'll be able to use ipython the way I do today, but it will become possible for IDE authors to incorporate it in their own environments. Until then, it's worth understanding the pros and cons of using ipython so you can decide whether you find its approach comfortable for your style. Regards, f |
From: massimo s. <mas...@un...> - 2007-03-30 17:16:16
|
> Not quite a 'development environment', but a long way > towards one. I always thought that the focus of matplotlib towards matlab-like interactivity is fundamentally flawed. Matlab-like interactivity is damn good when it is needed, but for that purpose in the free world there are already the good Octave, Gnuplot and Scilab. The big strength of matplotlib is that it is Python -that is, it is built on top of a general purpose language that is both very powerful and a breeze to code with. I would like to see matplotlib being pushed as a scientific plotting development library and environment, with pylab being a nice add-on for people accustomed with python and wanting a python-friendly interactive plot. Today matplotlib is marketed viceversa, and in my opinion this confuses newcomers (that see a programming language being used as an interactive command line environment) and doesn't help who wants to use matplotlib as what it is -a python library- with full power (I was *extremly* confused when I started to dig matplotlib to build a wx application and *everything* I found starting with was a reference to pylab...) So, coming back to Giorgio question, I'd like to advice him to teach matplotlib+scipy to his students as a programming environment first, letting them learn Python, and *after* showing them that there is a pythonic interactive environment. m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: mas...@un... tel: +39-051-2094388 fax: +39-051-2094387 |
From: George N. <gn...@go...> - 2007-03-30 15:38:50
|
You can run ipython _from_ emacs. Needs a bit of messing about with your .emacs, but once you've set it up, it works very well. Object introspection and the debugger are very nice; you can execute code fragments etc. Not quite a 'development environment', but a long way towards one. It explains how to do set it up in the ipython manual. George Nurser. > mat...@li... wrote on 30.03.2007 > 16:48:24: > > > I always thought ipython didn't come with a good editor. > > Am I mistaken? > > Mark > > > On 3/30/07, Lou Pecora < lou...@ya...> wrote: > > Have you looked at iPython? I think it's a great way > > to go. Check it out. > > > > --- Mark Bakker <ma...@gm...> wrote: > > > > > Giorgio - > > > > > > Thanks for starting this discussion and sorry for > > > the late reply. > > > Use of Python with matplotlib in the classroom and > > > by students in general is > > > a major objective of mine. > > > > > > I use IDLE with numpy, scipy, and matplotlib. > > > > > > The IDLE problem is really annoying though. > > > > [cut] > > > > > > > > -- Lou Pecora, my views are my own. > > --------------- > > "I knew I was going to take the wrong train, so I left early." > > --Yogi Berra > > > > > > > > > ____________________________________________________________________________________ > > > Be a PS3 game guru. > > Get your game face on with the latest PS3 news and previews at Yahoo! > Games. > > http://videogames.yahoo.com/platform?platform=120121 > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: <oli...@ma...> - 2007-03-30 14:57:33
|
Mark, you can set ipython (in the ipythonrc.ini) to start up the editor of your choice when you type "edit" in the ipython-shell. Check out this video at ShowMeDo, that shows a lot of the features of ipython: http://showmedo.com/videos/video?name=DownloadingIPythonForMSWindows&fromSeriesID=2 Oliver mat...@li... wrote on 30.03.2007 16:48:24: > I always thought ipython didn't come with a good editor. > Am I mistaken? > Mark > On 3/30/07, Lou Pecora < lou...@ya...> wrote: > Have you looked at iPython? I think it's a great way > to go. Check it out. > > --- Mark Bakker <ma...@gm...> wrote: > > > Giorgio - > > > > Thanks for starting this discussion and sorry for > > the late reply. > > Use of Python with matplotlib in the classroom and > > by students in general is > > a major objective of mine. > > > > I use IDLE with numpy, scipy, and matplotlib. > > > > The IDLE problem is really annoying though. > > [cut] > > > > -- Lou Pecora, my views are my own. > --------------- > "I knew I was going to take the wrong train, so I left early." > --Yogi Berra > > > > ____________________________________________________________________________________ > Be a PS3 game guru. > Get your game face on with the latest PS3 news and previews at Yahoo! Games. > http://videogames.yahoo.com/platform?platform=120121 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Lou P. <lou...@ya...> - 2007-03-30 14:52:21
|
--- Mark Bakker <ma...@gm...> wrote: > I always thought ipython didn't come with a good > editor. > Am I mistaken? > Mark Oh, I see. You probably want an development envirnoment. Sorry. IPython is great for interactively running code, but not too great for any editing. I do my editing in a separate source-code editor (BBEdit on the Mac). That works well for me since the editor can also run Python scripts in a Terminal window. There are some other products out there (although I haven't tried them). Two that come to mind are SPE (I think that's the name) and Wings, a commercial product that gets a lot of praise. Give them a look. -- Lou Pecora, my views are my own. --------------- "I knew I was going to take the wrong train, so I left early." --Yogi Berra ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 |
From: Mark B. <ma...@gm...> - 2007-03-30 14:48:27
|
I always thought ipython didn't come with a good editor. Am I mistaken? Mark On 3/30/07, Lou Pecora <lou...@ya...> wrote: > > Have you looked at iPython? I think it's a great way > to go. Check it out. > > --- Mark Bakker <ma...@gm...> wrote: > > > Giorgio - > > > > Thanks for starting this discussion and sorry for > > the late reply. > > Use of Python with matplotlib in the classroom and > > by students in general is > > a major objective of mine. > > > > I use IDLE with numpy, scipy, and matplotlib. > > > > The IDLE problem is really annoying though. > > [cut] > > > > -- Lou Pecora, my views are my own. > --------------- > "I knew I was going to take the wrong train, so I left early." > --Yogi Berra > > > > > ____________________________________________________________________________________ > Be a PS3 game guru. > Get your game face on with the latest PS3 news and previews at Yahoo! > Games. > http://videogames.yahoo.com/platform?platform=120121 > |
From: Lou P. <lou...@ya...> - 2007-03-30 14:46:18
|
Have you looked at iPython? I think it's a great way to go. Check it out. --- Mark Bakker <ma...@gm...> wrote: > Giorgio - > > Thanks for starting this discussion and sorry for > the late reply. > Use of Python with matplotlib in the classroom and > by students in general is > a major objective of mine. > > I use IDLE with numpy, scipy, and matplotlib. > > The IDLE problem is really annoying though. [cut] -- Lou Pecora, my views are my own. --------------- "I knew I was going to take the wrong train, so I left early." --Yogi Berra ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 |
From: massimo s. <mas...@un...> - 2007-03-30 14:01:50
|
massimo sandal ha scritto: > Giorgio Luciano ha scritto: >> No any other with the same problem :( ? > > No. But I googled for you and I found this: > > http://mail.python.org/pipermail/python-list/2006-November/412228.html > > Maybe you can get some hint. Oh, ok, checked better your email and that email -no big difference. Basically the problem seems to be in the order you are building the packages, or in version (in)compatibility. Are you sure that you are always using the same order? I find quite odd you install matplotlib *before* scipy -it should be the contrary. Are you sure these are the same packages compiled in the same way from the same source? m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: mas...@un... tel: +39-051-2094388 fax: +39-051-2094387 |
From: massimo s. <mas...@un...> - 2007-03-30 13:53:39
|
Giorgio Luciano ha scritto: > No any other with the same problem :( ? No. But I googled for you and I found this: http://mail.python.org/pipermail/python-list/2006-November/412228.html Maybe you can get some hint. m. -- Massimo Sandal University of Bologna Department of Biochemistry "G.Moruzzi" snail mail: Via Irnerio 48, 40126 Bologna, Italy email: mas...@un... tel: +39-051-2094388 fax: +39-051-2094387 |
From: Richard B. <rg...@gm...> - 2007-03-30 11:55:26
|
On 30/03/07, bre...@un... <bre...@un...> wrote: > > Not sure what region[:] is supposed to achieve. You are creating a copy > with the same name, so you are over-riding the original variable. > That doesn't seem to be the case - it returns the right thing on the first call - i.e. region got changed, but on subsequent calls the figure is displayed and the function returns array([0,0,0,0]). I thought taking the slice just gave access to the internals of region ... How does one assign a new value to a variable in a containing scope? Richard > > Hi there > > I have a function where I want to display an image, get the user to > zoom in on a region of interest, and then return the axes limits. > > But the problem is, I can only use it once, the second time it gets > called in a script the figure doesn't appear. I know this is to do > with show() not being supposed to be used multiple times, but I don't > know what I should be doing instead ... any tips? (I'm still new to > python btw) > > Also, if there's a better (more pythonic way) to do what I'm doing, I > would appreciate your input. I'm not sure if what I'm doing with the > region variable is dodgy or not. > > Currently, I'm doing this: > > from pylab import * > > def getroi(im): > imshow(im) > title('Zoom in to region of interest, then press a key') > region = array([0, 0, 0, 0]) # Placeholder values > > def keypressed(event): > region[:] = [round(i) for i in gca().axis()] > close(gcf()) > > # Connect keypressed to event handler > connect('key_press_event', keypressed) > > show() > return region > > > > thanks, > > Richard |
From: Mark B. <ma...@gm...> - 2007-03-30 11:20:20
|
Giorgio - Thanks for starting this discussion and sorry for the late reply. Use of Python with matplotlib in the classroom and by students in general is a major objective of mine. I use IDLE with numpy, scipy, and matplotlib. The IDLE problem is really annoying though. Starting with -n is required (a strange hack for many students), and then you cannot restart the interpreter. I keep hoping that the IDLE developers will be able to change the code such that this is not necessary anymore. Another difficulty is that it is cumbersome to change directories. In that respect, it would be great if pylab had a change directory (cd) command. That would make interactive use a lot easier. This could also be an IDLE feature of course. Another question I get from matlab users is why there isn't a 'whos' to figure out all the variables that are used. This is really an interactive issue, where the IDLE would be used as an interpreter (calculator really), not as a means to develop serious code. So to summarize, I think getting matlab users switched over, I see the following three issues high on the list: 1. Get rid of the -n problem for running matplotlib interactively. 2. Make an easy cd command. 3. Make an who option. On the bright side, I get quite a few people converted that don't want to go back anymore.... Mark Message: 7 > Date: Wed, 28 Mar 2007 16:58:42 +0200 > From: Giorgio Luciano <gio...@ch...> > Subject: [Matplotlib-users] matlab, idle, interactivity and teaching > To: Discussion of Numerical Python <num...@sc...>, > matplot <mat...@li...>, SciPy > Users List > <sci...@sc...> > Message-ID: <460...@ch...> > Content-Type: text/plain; charset=ISO-8859-15; format=flowed > > Hello to all, > I've thread that apperead some time ago on this list about matlab and > teaching. > I've discovered python recently and translated part of the routine I > use in python (www.chemometrics.it). > Some of my collegue asked me if I could show them how to use python. For > matlab user I guess the first problem is to setup everything, but I just > fixed it preparing a directory with all the package I need and a > matplotlibrc file for interactive mode + a shortcut for idle -n use. > The second problem is that people now wants some bells and whistles of > matlab that I have to admit sometime can be very helpful for saving > time. The bells and whistles are about the workspace. > It's difficult to cut and paste from gnumeric/excel (I generally use txt > file but it's no so immediate) and also there is no "visual" workspace. > I cannot succeed also in saving workspace (I know there is a function so > iosave.mat but I didn't manage easily hot to use it) > For overpass this problems I've tried to use QME-DEV which is in early > stage of development (alpha) but promise well. > What people like of python/matplot/scipy > -its free ;) > -they like a lot the plotting style and capabilities (they find the png > and svg file very clear and accurate) > -they like IDLE as editor (ehy it's has the same color of matlab ;) ! ) > > So my question is . Do you have a similar experience ? > How do you help people in moving the first step ? > do you use (and also does it exist) a more friendly environment than > IDLE except from QME-DEV. > > I know that this question may look silly, but in my opinion also how > much is user friendly a software is very important for getting new users. > Cheers to all > Giorgio > |
From: Giorgio L. <gio...@ch...> - 2007-03-30 07:11:58
|
No any other with the same problem :( ? |
From: Robert L. <mat...@rt...> - 2007-03-30 05:48:38
|
Edin Salkovic <edin.salkovic@gm...> wrote - > http://www.marketshares.com.au > I'm not affiliated in any way with the site owner/creator. I am, and it is extremely remiss of me not to publicly acknowledge how indebted we are to Matplotlib. In my defense and to mpl's credit, using it to generate the graphs has been so smooth that we barely know it's there! Matplotlib processes data for more than 620 companies on the Australian stock exchange after every trading day, producing more than 55,000 graphs per day. Several months ago I had a number of machines running the graph generation on more than 3 years of historic data 24x7 for around 2.5 weeks, resulting in over 250GB of graphs, i.e >40 million!! The site is very information rich and mpl is a mainstay of the presentation of that information (see http://www.marketshares.com.au/companies/20070301/profile/performance/CBA for a sample). Kudos to John and all others involved in producing a fantastic open source product! Robert Leftwich |
From: <bre...@un...> - 2007-03-30 03:47:22
|
Not sure what region[:] is supposed to achieve. You are creating a copy with the same name, so you are over-riding the original variable. Hi there I have a function where I want to display an image, get the user to zoom in on a region of interest, and then return the axes limits. But the problem is, I can only use it once, the second time it gets called in a script the figure doesn't appear. I know this is to do with show() not being supposed to be used multiple times, but I don't know what I should be doing instead ... any tips? (I'm still new to python btw) Also, if there's a better (more pythonic way) to do what I'm doing, I would appreciate your input. I'm not sure if what I'm doing with the region variable is dodgy or not. Currently, I'm doing this: from pylab import * def getroi(im): imshow(im) title('Zoom in to region of interest, then press a key') region = array([0, 0, 0, 0]) # Placeholder values def keypressed(event): region[:] = [round(i) for i in gca().axis()] close(gcf()) # Connect keypressed to event handler connect('key_press_event', keypressed) show() return region thanks, Richard -- Richard Brown Ph.D. Candidate Dept. of Mechanical Engineering University of Canterbury, NZ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ UNITED GROUP This email message is the property of United Group. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you may not disclose, copy or distribute this email, nor take or omit to take any action in reliance on it. United Group accepts no liability for any damage caused by this email or any attachments due to viruses, interference, interception, corruption or unauthorised access. If you have received this email in error, please notify United Group immediately by email to the sender's email address and delete this document. |
From: Richard B. <rg...@gm...> - 2007-03-30 03:35:32
|
Hi there I have a function where I want to display an image, get the user to zoom in on a region of interest, and then return the axes limits. But the problem is, I can only use it once, the second time it gets called in a script the figure doesn't appear. I know this is to do with show() not being supposed to be used multiple times, but I don't know what I should be doing instead ... any tips? (I'm still new to python btw) Also, if there's a better (more pythonic way) to do what I'm doing, I would appreciate your input. I'm not sure if what I'm doing with the region variable is dodgy or not. Currently, I'm doing this: from pylab import * def getroi(im): imshow(im) title('Zoom in to region of interest, then press a key') region = array([0, 0, 0, 0]) # Placeholder values def keypressed(event): region[:] = [round(i) for i in gca().axis()] close(gcf()) # Connect keypressed to event handler connect('key_press_event', keypressed) show() return region thanks, Richard -- Richard Brown Ph.D. Candidate Dept. of Mechanical Engineering University of Canterbury, NZ |