- 博客(1)
- 收藏
- 关注
原创 AttributeError: Can‘t get attribute ‘xx‘ on <module ‘__main__‘ (built-in)>
时,运行该作者的代码没有任何反应,发现Jupyter notebook的黑色窗口写着AttributeError: Can't get attribute 'howmany_within_range' on <module '__main__' (built-in)>。#1.和#3.都没有变,只是将#2.的定义函数变为导入函数:from aaa import howmany_within_range,完整代码如下。)的'【windows下正常运行】'和'【windows下ipython运行】'。
2024-04-27 18:29:43
607
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人