首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么Nuitka提示编译返回错误?

为什么Nuitka提示编译返回错误?
EN

Stack Overflow用户
提问于 2021-07-13 06:27:11
回答 1查看 101关注 0票数 0
代码语言:javascript
复制
File "hinted-mods.py", line 275, in __init__ options.recurse_modules.append(f) AttributeError: 'Values' object has no attribute 'recurse_modules'

在控制台中执行python nuitka-hints.py main.py时出现此错误

我使用了来自nuitka实用程序的提示编译,可以在这里找到:https://github.com/Nuitka/NUITKA-Utilities/tree/master/hinted-compilation

EN

回答 1

Stack Overflow用户

发布于 2021-07-23 10:40:58

nuitka选项不再具有"recurse_modules“属性。它被替换为"follow_modules“。在我的例子中,我只需修改代码(在提示的-mods.py中,将所有的"recures_modules“替换为"follow_modules"),它就可以工作了。检查此PR https://github.com/Nuitka/NUITKA-Utilities/pull/63

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68354474

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档