py2exe icon indicating copy to clipboard operation
py2exe copied to clipboard

py2exe无法打包包含第三方库的py文件

Open dhbliss opened this issue 3 years ago • 2 comments

当我使用python自带的库进行打包时无异常,但是使用第三方库requests或psutil时,打包的文件无法打开,python版本使用的 py3.7

dhbliss avatar Aug 31 '22 17:08 dhbliss

FTR: Google Translate says:

When I use the library that comes with python for packaging, there is no exception, but when I use the third-party library requests or psutil, the packaged file cannot be opened, and the python version uses py3.7

Athanasius avatar Aug 31 '22 17:08 Athanasius

@dhbliss Could you provide a minimal example to reproduce your error? This should include a test script and a freezing script (setup.py or freeze). Thanks

albertosottile avatar Sep 18 '22 21:09 albertosottile

Closing as no further input was provided.

albertosottile avatar Oct 04 '22 17:10 albertosottile