module has no attribute

2025-06-28 08:41:23

1、定义有def printlog1(a, b, c, d):方法,在jupyter中引用

module has no attribute

3、解决方法:单击重启按钮,restart the kernel

module has no attribute

4、该问题常发生在方法名修改,或者增加新的方法的时候,使用jupyter报错,但是在pycharm中访问正常,不确定是否跟jupyter版本有关系

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢