AttributeError: partially initialized module ‘xxxx‘ has no attribute ‘xxxx‘ (most likely due to a ..
AttributeError: partially initialized module 'xxxx' has no attribute 'xxxx' (most likely due to a circular import)
两个py文件相互进行了 import 导致了错误是循环调用
解决方法:避免使用循环调用,去除py1中的: import py2
还没有评论,来说两句吧...