Closed KarryBanana closed 1 year ago
您好,我在尝试运行python_parser目录下的myparser.py时产生了KeyError: 'Constant'的报错,同样的报错也发生在了运行process_data.py。由于我并未修改作者您的代码,所以想问下该报错可能产生的原因,谢谢!
myparser.py
KeyError: 'Constant'
process_data.py
复制python的语法文件,并删除了其中的注释后可以正常运行代码了 https://docs.python.org/3.7/library/ast.html
您好,我在尝试运行python_parser目录下的
myparser.py
时产生了KeyError: 'Constant'
的报错,同样的报错也发生在了运行process_data.py
。由于我并未修改作者您的代码,所以想问下该报错可能产生的原因,谢谢!