Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/364.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 使用使用UAC的pyInstaller创建exe_Python_Uac_Pyinstaller - Fatal编程技术网

Python 使用使用UAC的pyInstaller创建exe

Python 使用使用UAC的pyInstaller创建exe,python,uac,pyinstaller,Python,Uac,Pyinstaller,我有一个python脚本,我想从中创建一个exe,但它需要管理员权限。我想用pyInstaller编译我的脚本,但我不知道它是否有启用UAC的选项。也许可以试试py2exe? 所有代码都将在Linux上编写,并在Windows7x64上编译为.exe 所有工作正常,没有管理员权限 在平台SDK中有一个名为MT.exe的文件,它可以将清单嵌入到exe中(请参见:)谢谢,但我希望可执行文件是轻的(pyInstaller的单文件exe功能),我希望它支持代码签名和其他现成的东西

我有一个python脚本,我想从中创建一个exe,但它需要管理员权限。我想用pyInstaller编译我的脚本,但我不知道它是否有启用UAC的选项。

也许可以试试py2exe? 所有代码都将在Linux上编写,并在Windows7x64上编译为.exe

所有工作正常,没有管理员权限


在平台SDK中有一个名为MT.exe的文件,它可以将清单嵌入到exe中(请参见:)

谢谢,但我希望可执行文件是轻的(pyInstaller的单文件exe功能),我希望它支持代码签名和其他现成的东西