擅长:python、mysql、java
<p>问题是python.exegitbash本身也有问题。据推测,这与ncurses图书馆有关。在</p>
<p>解决方案是键入“winptypython.exe“而不是python。”温文尔雅python.exe管理.py“外壳”应该有用。也可以创建别名来绕过此问题。键入“alias python=”winptypython.exe“会让它变得如此”python管理.py“壳牌”是它应该做的。在</p>
<p>这个答案解释得更好:
<a href="https://stackoverflow.com/questions/32597209/python-not-working-in-the-command-line-of-git-bash">Python not working in the command line of git bash</a></p>