python 使用pyinstaller打包运行报错failed to execute script NcloudServerMain
cmd到你项目文件的根目录,我的是E盘 ,然后 pyinstaller --hidden-import=pkg_resources -F NcloudServerMain.py 回车就行了。
–hidden-import=pkg_resources 亲测有效 但也有 --hidden-import=queue 解决的
python 使用pyinstaller打包运行报错failed to execute script NcloudServerMain
cmd到你项目文件的根目录,我的是E盘 ,然后 pyinstaller --hidden-import=pkg_resources -F NcloudServerMain.py 回车就行了。
–hidden-import=pkg_resources 亲测有效 但也有 --hidden-import=queue 解决的