|
From: Wayne W. <sie...@sb...> - 2010-02-20 03:12:08
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
OK, I'm on Win7. From the py2exe tutorial, I've found that hello.exe
works as expected by the
tutorial. That file is in the dist folder. <br>
I've now tried this program,
pylab_scatter.py:<br>
<br>
<blockquote>#!/usr/bin/env python<br>
from pylab import *<br>
<br>
N = 30<br>
x = 0.9*rand(N)<br>
y = 0.9*rand(N)<br>
area = pi*(10 * rand(N))**2 # 0 to 10 point radiuses<br>
scatter(x,y,s=area, marker='^', c='r')<br>
<br>
show()<br>
</blockquote>
It runs properly in IDLE.<br>
==============================<br>
It appears to compile properly. Now from the cmd prompt window:<br>
C:\Users\Wayne\Sandia_Meteors\Sentinel_Development\Learn_Python\Py2exe_Test\dist>pylab_scatter.exe<br>
Traceback (most recent call last):<br>
File "pylab_scatter.py", line 2, in <module><br>
File "pylab.pyc", line 1, in <module><br>
File "matplotlib\__init__.pyc", line 677, in <module><br>
File "matplotlib\__init__.pyc", line 598, in rc_params<br>
File "matplotlib\__init__.pyc", line 552, in matplotlib_fname<br>
File "matplotlib\__init__.pyc", line 242, in wrapper<br>
File "matplotlib\__init__.pyc", line 482, in _get_data_path_cached<br>
File "matplotlib\__init__.pyc", line 478, in _get_data_path<br>
RuntimeError: Could not find the matplotlib data files
<-------------------What is this?<br>
<br>
C:\Users\Wayne\Sandia_Meteors\Sentinel_Development\Learn_Python\Py2exe_Test\dist><br>
==================================<br>
I Googled this py2exe message "RuntimeError: Could not find the
matplotlib data files". As of yet, it does not look like a solution ia
available for matplotlib. <br>
<pre class="moz-signature" cols="72">--
"There is nothing so annoying as to have two people
talking when you're busy interrupting." -- Mark Twain</pre>
</body>
</html>
|
|
From: Christopher B. <Chr...@no...> - 2010-02-21 06:43:35
|
Wayne Watson wrote: > Thank you. That last link probably enlightened about six people. Are you one of those six? That page is unfortunate -- some folks don't quite "get" that a Wiki is supposed to be edited -- not just added to, like a forum. So that page could really use some clean up -- but if you read the whole page, you can see that it's gotten pretty easy. Are you still confused? -Chris > On 2/19/2010 8:28 PM, Christoph Gohlke wrote: >> <http://lmgtfy.com/?q=py2exe+matplotlib+data+files&l=1> leads me to >> <http://www.py2exe.org/index.cgi/MatPlotLib>. -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Wayne W. <sie...@sb...> - 2010-02-21 15:04:54
|
Hmm. Actually I put it aside, thinking that it was correct. After spending quite a bit of time on it through queries to a few "forums" I was happy to find the rest of the story. This was not something I was desperate for, especially given the apparent complexity of it for matplotlib. The tutorial that got me started was pretty accurate for non-graphic programs, but suffered in one area of what I would call not emphasizing an important point. Once found all went fine. I personally do not know the other" five". I had brought this up on other "forums", and it attracted several others. A few had no clue at all even though they offered solutions, but would seem to be content with the resolution. So what do we have here? An incomplete and possibly wrong wiki? I find this a bit bizarre if several credible authors of Python point to py2exe as useful, but apparently do not tell the whole story. So, yes, in light of this revelation, then I'm confused. On 2/20/2010 10:43 PM, Christopher Barker wrote: > > Wayne Watson wrote: > >> Thank you. That last link probably enlightened about six people. >> > Are you one of those six? That page is unfortunate -- some folks don't > quite "get" that a Wiki is supposed to be edited -- not just added to, > like a forum. So that page could really use some clean up -- but if you > read the whole page, you can see that it's gotten pretty easy. > > Are you still confused? > > -Chris > > >> On 2/19/2010 8:28 PM, Christoph Gohlke wrote: >> >>> <http://lmgtfy.com/?q=py2exe+matplotlib+data+files&l=1> leads me to >>> <http://www.py2exe.org/index.cgi/MatPlotLib>. >>> -- "There is nothing so annoying as to have two people talking when you're busy interrupting." -- Mark Twain |
|
From: Christoph G. <cg...@uc...> - 2010-02-20 04:28:23
|
<http://lmgtfy.com/?q=py2exe+matplotlib+data+files&l=1> leads me to <http://www.py2exe.org/index.cgi/MatPlotLib>. - Christoph On 2/19/2010 7:11 PM, Wayne Watson wrote: > OK, I'm on Win7. From the py2exe tutorial, I've found that hello.exe > works as expected by the tutorial. That file is in the dist folder. > I've now tried this program, pylab_scatter.py: > > #!/usr/bin/env python > from pylab import * > > N = 30 > x = 0.9*rand(N) > y = 0.9*rand(N) > area = pi*(10 * rand(N))**2 # 0 to 10 point radiuses > scatter(x,y,s=area, marker='^', c='r') > > show() > > It runs properly in IDLE. > ============================== > It appears to compile properly. Now from the cmd prompt window: > C:\Users\Wayne\Sandia_Meteors\Sentinel_Development\Learn_Python\Py2exe_Test\dist>pylab_scatter.exe > Traceback (most recent call last): > File "pylab_scatter.py", line 2, in <module> > File "pylab.pyc", line 1, in <module> > File "matplotlib\__init__.pyc", line 677, in <module> > File "matplotlib\__init__.pyc", line 598, in rc_params > File "matplotlib\__init__.pyc", line 552, in matplotlib_fname > File "matplotlib\__init__.pyc", line 242, in wrapper > File "matplotlib\__init__.pyc", line 482, in _get_data_path_cached > File "matplotlib\__init__.pyc", line 478, in _get_data_path > RuntimeError: Could not find the matplotlib data files > <-------------------What is this? > > C:\Users\Wayne\Sandia_Meteors\Sentinel_Development\Learn_Python\Py2exe_Test\dist> > ================================== > I Googled this py2exe message "RuntimeError: Could not find the > matplotlib data files". As of yet, it does not look like a solution ia > available for matplotlib. > > -- > "There is nothing so annoying as to have two people > talking when you're busy interrupting." -- Mark Twain > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Wayne W. <sie...@sb...> - 2010-02-20 16:05:35
|
Thank you. That last link probably enlightened about six people. On 2/19/2010 8:28 PM, Christoph Gohlke wrote: > <http://lmgtfy.com/?q=py2exe+matplotlib+data+files&l=1> leads me to > <http://www.py2exe.org/index.cgi/MatPlotLib>. > > - Christoph > > On 2/19/2010 7:11 PM, Wayne Watson wrote: > >> OK, I'm on Win7. From the py2exe tutorial, I've found that hello.exe >> works as expected by the tutorial. That file is in the dist folder. >> I've now tried this program, pylab_scatter.py: >> >> #!/usr/bin/env python >> from pylab import * >> >> N = 30 >> x = 0.9*rand(N) >> y = 0.9*rand(N) >> area = pi*(10 * rand(N))**2 # 0 to 10 point radiuses >> scatter(x,y,s=area, marker='^', c='r') >> >> show() >> >> It runs properly in IDLE. >> ============================== >> It appears to compile properly. Now from the cmd prompt window: >> C:\Users\Wayne\Sandia_Meteors\Sentinel_Development\Learn_Python\Py2exe_Test\dist>pylab_scatter.exe >> Traceback (most recent call last): >> File "pylab_scatter.py", line 2, in<module> >> File "pylab.pyc", line 1, in<module> >> File "matplotlib\__init__.pyc", line 677, in<module> >> File "matplotlib\__init__.pyc", line 598, in rc_params >> File "matplotlib\__init__.pyc", line 552, in matplotlib_fname >> File "matplotlib\__init__.pyc", line 242, in wrapper >> File "matplotlib\__init__.pyc", line 482, in _get_data_path_cached >> File "matplotlib\__init__.pyc", line 478, in _get_data_path >> RuntimeError: Could not find the matplotlib data files >> <-------------------What is this? >> >> C:\Users\Wayne\Sandia_Meteors\Sentinel_Development\Learn_Python\Py2exe_Test\dist> >> ================================== >> I Googled this py2exe message "RuntimeError: Could not find the >> matplotlib data files". As of yet, it does not look like a solution ia >> available for matplotlib. >> >> -- >> "There is nothing so annoying as to have two people >> talking when you're busy interrupting." -- Mark Twain >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> >> >> >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- "There is nothing so annoying as to have two people talking when you're busy interrupting." -- Mark Twain |