擅长:python、mysql、java
<p>我也被类似的问题困扰着。在您的例子中,可能是UPX破坏了vcruntime140.dll。
解决方法是关闭UPX,所以只需在pyinstaller调用中添加<strong>noupx</strong>。在</p>
<pre><code>pyinstaller noupx onedir onefile windowed get.py
</code></pre>
<p>此处的详细说明:<a href="https://github.com/pyinstaller/pyinstaller/issues/1565" rel="nofollow noreferrer">UPX breaking vcruntime140.dll (64bit)</a></p>