0


python解决报错ImportError: Bad git executable.

在跑代码时出现了以下错误:
Bad git executable.
在这里插入图片描述
按照上述路径,找到E:\Anaconda3\Lib\site-packages\git\cmd
添加:

os.environ['GIT_PYTHON_REFRESH']='quiet'

在这里插入图片描述
问题解决

标签: python

本文转载自: https://blog.csdn.net/zzpl139/article/details/128228698
版权归原作者 爱挠静香的下巴 所有, 如有侵权,请联系我们删除。

“python解决报错ImportError: Bad git executable.”的评论:

还没有评论