File "C:\Users\dabuniu13\AppData\Local\Programs\Python\Python310\git.py", line 18datas = []TabError: inconsistent use of tabs and spaces in indentation
Process finished with exit code 1
能够正常运行
报错是说你将空格和tab混用了检查一下代码的波浪线部分,将前面的空格用tab缩进代替