在使用jupyter notebook的时候 当在自己写的函数库中新增了新的函数名或类想要调用的时候却一直提醒没有找到这个内容 Cannot import name
可以先试试重启并编译全部内容 有可能是因为之前你使用过这个py文件,导致其内容已经放在内存里面,所有即使你添加了,在其看来也是没有添加的