<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 > Matplotlib-users@lists.sourceforge.net > 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 Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users