且构网

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

pyinstaller没有名为grpc的模块

更新时间:2023-12-05 08:52:10

我正在使用grpc进行python应用程序的PyInstaller/cx_freeze可分发.

I am working on doing a PyInstaller/cx_freeze distributable of a python app using grpc.

您可以尝试添加--hidden-import=pkg_resources并查看会发生什么吗?

Can you try adding --hidden-import=pkg_resources and see what happens?

这为我解决了