UPX在启动时出现坏图像而不是可压缩异常

问题描述 投票:0回答:1

该脚本非常简单,无需UPX。

import selenium
import scipy
import pandas as pd
print('Testing123')

一旦发射,我得到bad image

pyinstaller myfile.py --upx-dir=C:\upx394w --onedir

启动exe时不起作用,我使用的是Windows 64bit。

pyinstaller az1.py --onedir –noupx(Az1.exe)[作品]

现在我跑步并得到不好的形象。唯一真正的问题可能是:NotCompressibleException可能会出问题,但似乎是压缩,否则(full command line output)

值得注意的是:

    upx: C:\Users\H0u\AppData\Roaming\pyinstaller\bincache01_py36_64bit\api-ms-win-crt-multibyte-l1-1-0.dll: NotCompressibleException
    69790 INFO: Building COLLECT out00-COLLECT.toc completed successfully.

File

python windows python-3.x pyinstaller
1个回答
0
投票

好的,这很奇怪。这是常见问题,请看:

https://github.com/pyinstaller/pyinstaller/issues/1565

删除vcruntime140.dll修复了此问题。将做进一步的测试,但这是通过删除导致问题的文件(不确定是否安全)修复但有效。

© www.soinside.com 2019 - 2024. All rights reserved.