py2exe和active_directory生成" ImportError:无法导入名称adsi"一旦EXE运行?

时间:2016-04-21 15:02:56

标签: python python-2.7 active-directory py2exe importerror

当运行由py2exe编译的EXE时,它失败并显示错误:

private static Expression GetTrueExpression(Type type)
{
    return Expression.Lambda(Expression.Constant(true), Expression.Parameter(type, "_"));
}

将它作为python脚本运行根本不会产生任何错误。我有所有必需的DLL。我相信问题的根源在于tim golden's active_directory

有关其他编译方法的建议或此错误的解决方案,我们将不胜感激吗?

0 个答案:

没有答案