Hello, I have been trying (unsuccessfully) to freeze code using the aforementioned versions of python and numpy. I looked all over and found the somewhat similar problems, where the solutions were to add an import clause to the user's scripts, or edit the package's files.
I tried both approaches, and did both. In addition, I added the module format to --include-modules and added its path to --include-path. None helped - I still get this error. Here is the Traceback when running program: Traceback (most recent call last): File "/usr/local/lib/python3.2/dist- packages/cx_Freeze/initscripts/Console3.py", line 27, in <module> exec(code, m.__dict__) File "experimentation_parallel.py", line 7, in <module> from SpectAnalyzer import * File "SpectAnalyzer.py", line 11, in <module> import pylab File "/usr/local/lib/python3.2/dist-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/usr/local/lib/python3.2/dist-packages/matplotlib/__init__.py", line 145, in <module> from matplotlib.rcsetup import (defaultParams, File "/usr/local/lib/python3.2/dist-packages/matplotlib/rcsetup.py", line 20, in <module> from matplotlib.colors import is_color_like File "/usr/local/lib/python3.2/dist-packages/matplotlib/colors.py", line 53, in <module> import numpy as np File "/usr/local/lib/python3.2/dist-packages/numpy/__init__.py", line 137, in <module> from . import add_newdocs File "/usr/local/lib/python3.2/dist-packages/numpy/add_newdocs.py", line 9, in <module> from numpy.lib import add_newdoc File "/usr/local/lib/python3.2/dist-packages/numpy/lib/__init__.py", line 17, in <module> from .npyio import * File "/usr/local/lib/python3.2/dist-packages/numpy/lib/npyio.py", line 6, in <module> from numpy.lib.npyio import format ImportError: cannot import name format P.S. During the freeze, there is a notification about a few "missing modules". Is this normal? If not, is it relevant? I don't see the errornous module in this list...: Missing modules: ? Image imported from scipy.misc.pilutil ? ImageFilter imported from scipy.misc.pilutil ? IronPython.Runtime.Exceptions imported from nose.suite ? PIL imported from matplotlib.backend_bases ? PyQt4.QtGui imported from matplotlib.pyplot ? UserDict imported from pytz ? __config__ imported from numpy.distutils ? _gestalt imported from platform ? _md5 imported from hashlib ? _sha1 imported from hashlib ? _sha256 imported from hashlib ? _sha512 imported from hashlib ? _tkinter imported from tkinter._fix ? _transforms imported from matplotlib.dates ? apport_python_hook imported from sitecustomize ? clr imported from nose.suite ? compiler.consts imported from nose.util ? gobject imported from matplotlib.pyplot ? has_key imported from curses ? md5 imported from setuptools.package_index ? mpl_toolkits.natgrid imported from matplotlib.mlab ? numarray imported from numpy.distutils.system_info ? numpy.core._dotblas imported from numpy.core.numeric ? numpy.core.exp imported from numpy.linalg.linalg ? numpy.core.integer imported from numpy.fft.helper ? numpy.core.signbit imported from numpy.testing.utils ? numpy.e imported from numpy.oldnumeric.misc ? numpy_distutils imported from numpy.f2py.diagnose ? pyemf imported from matplotlib.backends.backend_emf ? qt imported from matplotlib.pyplot ? sets imported from nose.util ? win32com.client.gencache imported from setuptools.sandbox ? winreg imported from platform ? wx imported from matplotlib.pyplot ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users