1.问题:AttributeError: module ‘gast‘ has no attribute ‘Index’ 2.解决方法: 原因:gast版本过高 pip install gast==0.3.3