Git on Windows 一些问题
2024-10-18 22:37:57
问题汇总
1. 卸载Git时,bin和usr目录删不掉
报错:bin, usr目前需要admin权限删除,或者这个目录被其他文件引用
打开taskmgr,找到所有引用 git/bin/ 下的文件的进程,全部停掉。
2. Git无法运行Python
报错:没有报错信息,进程一直hang住
“This is a known bug in MSys2, which provides the terminal used by Git Bash. You can work around it by running a Python build without ncurses support, or by using WinPTY”
因此,不要用Git-bash运行Python,只有用Git/bin下面的命令运行就没有问题。
Reference
http://stackoverflow.com/questions/32597209/python-not-working-in-the-command-line-of-git-bash
最新文章
- 转帖:如何建立与使用 Window setup project
- IsBackground的理解
- poj1860 bellman—ford队列优化 Currency Exchange
- Android mtk单路录音问题
- 4.html5中超链接
- MFC的GUI窗口使用Console输出函数printf(AllocConsole后,使用GetStdHandle取得句柄,然后就可以操作了)
- contentProvider-联系人的CURD
- JavaScript的正则表达式
- spring入门——applicationContext与BeanFactory的区别
- 如何以SYSTEM用户运行CMD
- 使用Maven根据WSDL生成生成Java代码
- Inotify&;Sersync文件监视工具配置
- FindResource () RT_HTML 为什么总是出错呢 ?
- Java课程作业之动手动脑(六)
- iOS:自定义字体
- KBEngine 安装
- LeetCode 545----Boundary of Binary Tree
- 断言NSAssert的使用
- ReactNative 调用手机地图(高德、百度)导航 Android
- flask开发笔记
热门文章
- 使用Flask设计带认证token的RESTful API接口[翻译]
- 理解Docker(8):Docker 存储之卷(Volume)
- struts2基础学习--环境配置(*原创)
- Ubuntu 14.04 LTS 下升级 gcc 到 gcc-4.9、gcc-5 版本
- Linux-./configure: error: the HTTP rewrite module requires the PCRE library.
- [LeetCode] Strong Password Checker 密码强度检查器
- [LeetCode] Sum Root to Leaf Numbers 求根到叶节点数字之和
- [LeetCode] 4Sum 四数之和
- JS组件系列——Bootstrap组件福利篇:几款好用的组件推荐(二)
- 如何用Unity创建一个的简单的HoloLens 3D程序