Python 3.x 用冷冻熊猫

Python 3.x 用冷冻熊猫,python-3.x,pandas,cx-freeze,Python 3.x,Pandas,Cx Freeze,因此,我正在运行32位3.4 python,并编写了一个脚本,在运行时可以正常运行,但我正在尝试使用cx\U Freeze将其转换为exe文件。这是我的设置代码: from cx_Freeze import setup, Executable import sys import pandas base = None if sys.platform == 'win32': base = 'Win32GUI' setup(name='VPN_Decoder', versio

因此,我正在运行32位3.4 python,并编写了一个脚本,在运行时可以正常运行,但我正在尝试使用cx\U Freeze将其转换为exe文件。这是我的设置代码:

from cx_Freeze import setup, Executable
import sys
import pandas

base = None

if sys.platform == 'win32':
    base = 'Win32GUI'

setup(name='VPN_Decoder',
      version = '1.0',
      options = {'build_exe':{"packages":['tkinter','pandas']}},
      executables = [Executable("VPN Decoder.py", base=base)])
当我在构建过程中运行它时,它不会返回任何错误,但当我打开exe时,它会返回:

我用我编写的另一段代码测试了安装脚本,第一次它运行得很好,所以我知道问题与这个特定的脚本有关。更具体地说,似乎是在我尝试导入pandas模块时。也就是说,当我在代码本身中导入pandas时,如果我不在脚本中导入pandas,而是在安装文件中导入它,它仍然可以正常工作

这是我第一次使用cx_Freeze或者尝试执行这个过程,所以我还不能真正理解是什么导致了错误。任何帮助都将不胜感激