使用cx_freeze创建的Python3.3的exe文件运行不正确

时间:2014-01-22 16:28:43

标签: python-3.x cx-freeze

我正在使用Python3.3和cx_freeze来制作exe文件。 随着我对exe文件的最新转换,cx_freeze似乎工作正常但是当我打开exe文件时,它会给出下一个错误。

[py33] C:\Python33\build\exe.win-amd64-3.3>Plot.exe
Traceback (most recent call last):
  File "C:\Python33\lib\site-packages\cx_Freeze\initscripts\Console3.py", line 27, in <module>
    exec(code, m.__dict__)
  File "PlotFMFiles.py", line 6, in <module>
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 1616, in _handle_fromlist
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 313, in _call_with_frames_removed
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 1567, in _find_and_load
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 1534, in _find_and_load_unlocked
  File "C:\Python33\lib\site-packages\scipy\fftpack\__init__.py", line 97, in <module>
    from .basic import *
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 1567, in _find_and_load
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 1534, in _find_and_load_unlocked
  File "C:\Python33\lib\site-packages\scipy\fftpack\basic.py", line 12, in <module>
    from . import _fftpack
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 1616, in _handle_fromlist
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 313, in _call_with_frames_removed
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 1567, in _find_and_load
  File "C:\Python\64-bit\3.3\lib\importlib\_bootstrap.py", line 1534, in _find_and_load_unlocked
  File "ExtensionLoader_scipy_fftpack__fftpack.py", line 22, in <module>
  File "ExtensionLoader_scipy_fftpack__fftpack.py", line 14, in __bootstrap__
ImportError: DLL load failed: The specified module could not be found.

pc上不存在路径C:\Python\64-bit\3.3,它最多为C:\Python33。 我在C:\Python33中的所有文件中搜索了错误的路径,但没有成功。

0 个答案:

没有答案