如何在msys2中使用gitk? [英] How to use gitk with msys2?
本文介绍了如何在msys2中使用gitk?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Windows 10中使用MSYS2。 git
可以正常工作,但是 gitk
给出错误:
/ usr / bin / gitk:第3行:exec:wish:找不到
pre>
一些使用Google提示可能是因为TK没有安装,但我试过:
pacman -S tk
给出了错误:
错误:找不到目标:tk
如何在此环境中使用gitk?尝试运行64位MinGW shell(一个在MSYS2提供的三种环境中),安装包
mingw-w64-x86_64-tk
,然后运行gitk
。
Gitk适用于我的系统,并提供
wish
/ mingw64 / bin / wish.exe
。I am using MSYS2 in Windows 10.
git
works fine, howevergitk
gives the error:/usr/bin/gitk: line 3: exec: wish: not found
Some googling suggested this may be because TK is not installed, however I tried:
pacman -S tk
which gave the error:
error: target not found: tk
How do I get gitk to work in this environment?
解决方案Try running the 64-bit MinGW shell (one of the three environments provided by MSYS2), installing the package
mingw-w64-x86_64-tk
, and then runninggitk
.Gitk works on my system, and
wish
is provided/mingw64/bin/wish.exe
.这篇关于如何在msys2中使用gitk?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文