小编Car*_*ris的帖子

Python无法在git bash的命令行中运行

Python不会在git bash(Windows)中运行.当我在命令行中键入python时,它将我带到一个空白行,而不是说它已经像在Powershell中那样输入了python 2.7.10.它没有给我一个错误消息,但python只是不运行.

我已经确定了PATH中的环境变量c:\python27.我还能检查什么?


发生此问题的会话如下所示:

user@hostname MINGW64 ~
$ type python
python is /c/Python27/python

user@hostname MINGW64 ~
$ python
Run Code Online (Sandbox Code Playgroud)

......坐在那里而不回到提示.

python windows git command-line git-bash

192
推荐指数
11
解决办法
11万
查看次数

标签 统计

command-line ×1

git ×1

git-bash ×1

python ×1

windows ×1