且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Pyinstaller 编译成exe

更新时间:2023-12-01 23:08:04

如果您仍然遇到此问题,以下是为我解决的方法:

If you are still having this issue, here is what solved it for me:

pip install --upgrade setuptools

我试过安装六个(在我的例子中,它还没有安装),但因为它似乎在寻找 _vendor.six 而不仅仅是 six代码>,这并没有解决它.不知何故,升级 setuptools 解决了这个问题.

I've tried installing six (in my case, it wasn't already installed), but since it seems that it is looking for _vendor.six and not just six, that didn't solve it. Somehow, upgrading setuptools solves it.