Hello,
freezing a script which imports matplotlib I get the following error
message:
covino% ./build/exe.macosx-10.5-i386-2.5/SRPShowSpec
Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/cx_Freeze/initscripts/
Console.py", line 27, in <module>
exec code in m.__dict__
File "../SRP/Scripts/SRPShowSpec.py", line 27, in <module>
import pylab
File "/Library/Python/2.5/site-packages/pylab.py", line 1, in
<module>
from matplotlib.pylab import *
File "/Library/Python/2.5/site-packages/matplotlib/__init__.py",
line 709, in <module>
rcParams = rc_params()
File "/Library/Python/2.5/site-packages/matplotlib/__init__.py",
line 627, in rc_params
fname = matplotlib_fname()
File "/Library/Python/2.5/site-packages/matplotlib/__init__.py",
line 569, in matplotlib_fname
path = get_data_path() # guaranteed to exist or raise
File "/Library/Python/2.5/site-packages/matplotlib/__init__.py",
line 240, in wrapper
ret = func(*args, **kwargs)
File "/Library/Python/2.5/site-packages/matplotlib/__init__.py",
line 483, in _get_data_path_cached
defaultParams['datapath'][0] = _get_data_path()
File "/Library/Python/2.5/site-packages/matplotlib/__init__.py",
line 461, in _get_data_path
import matplotlib.afm
ImportError: No module named afm
However, the module "afm" is correctly imported if I try the same
sequence of commands from the python interpreter.
Is there a way to circumvent this problem?
Thanks,
Stefano
------------------------------------------------------------------------------
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
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users