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
如何为Pyinstaller提供Python DLL路径?_Python_Windows_Pyinstaller - Fatal编程技术网

如何为Pyinstaller提供Python DLL路径?

如何为Pyinstaller提供Python DLL路径?,python,windows,pyinstaller,Python,Windows,Pyinstaller,我们正在使用Pyinstaller构建Python应用程序。构建是自动化的,每晚在不同的windows机器上运行。并非所有windows计算机都有Python和Pyinstaller安装程序。因此,我们使用7-zip将Python2.6和Pyinstaller-2.1以及源代码打包为自解压可执行文件,而不是手动设置每台机器进行构建。构建脚本被修改为使用提取的Python和Pyinstaller 但是,Pyinstaller始终从C:\Windows\system32或SYSWOW64查找Pyth

我们正在使用Pyinstaller构建Python应用程序。构建是自动化的,每晚在不同的windows机器上运行。并非所有windows计算机都有Python和Pyinstaller安装程序。因此,我们使用7-zip将Python2.6和Pyinstaller-2.1以及源代码打包为自解压可执行文件,而不是手动设置每台机器进行构建。构建脚本被修改为使用提取的Python和Pyinstaller

但是,Pyinstaller始终从C:\Windows\system32或SYSWOW64查找Python26.dll。此外,pyinstaller还从系统文件夹中查找pywin32 DLL。有没有办法告诉Pyinstaller在别处寻找这些DLL?我试着使用-r参数,但它不起作用

  • 有没有办法指定pyinstaller应该从哪里获取DLL,或者可以将它们与pyinstaller捆绑在一起

  • 任何使用Pyinstaller设置自动夜间构建的建议都值得赞赏吗?无法使用msi安装生成脚本


  • 我也想知道。2.5年后。