系统相关
首页 > 系统相关> > Python - Git for windows 下使用 交互式命令行

Python - Git for windows 下使用 交互式命令行

作者:互联网

1. 概述

  1. 尝试在 windows 环境的 git 命令行使用 python3 的交互模式

2. 环境

  1. OS
    1. win10 1905
  2. git
    1. 2.20.1
  3. mintty
    1. 2.9.4
  4. python
    1. 3.7.0

2. 问题

  1. 直接使用
    1. 结果
      1. 无法开启, 会卡住

3. 解决

  1. 命令
    > winpty python

4. 其他

  1. ref
    1. Git for windows的MINGW64终端无法使用Python的解决方法
  2. 疑问
    1. winpty 是干嘛的

标签:Git,winpty,Python,python,windows,git
来源: https://www.cnblogs.com/xy14/p/11449531.html