git-p4:致命:git的构建不支持git-p4(NO_PYTHON = 1) [英] git-p4: fatal: git was built without support for git-p4 (NO_PYTHON=1)
本文介绍了git-p4:致命:git的构建不支持git-p4(NO_PYTHON = 1)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
fatal:git是在不支持git-p4的情况下构建的(NO_PYTHON = 1)
任何想法显示此消息的原因?无论如何,我可以修复它?
我使用的是内核版本为3.11.0的Ubuntu发行版。
解决方案
您可以下载 git-p4.py
file并将它移动到正确的目录:
$ b
wget http:// git。 kernel.org/cgit/git/git.git/plain/git-p4.py?id=master -O git-p4&& chmod + x git-p4
sudo mv git-p4 / usr / lib / git-core /
I am trying to use git p4 on my Linux computer. But there seems to be a problem with git-p4 for some reason. When I run the git p4 command I get:
fatal: git was built without support for git-p4 (NO_PYTHON=1)
Any idea why this message is being displayed? Is there anyway I can fix it?
I am using an Ubuntu distribution with Kernel version 3.11.0.
Thank you in advance.
解决方案
You could download the git-p4.py
file and move it to the right directory:
wget http://git.kernel.org/cgit/git/git.git/plain/git-p4.py?id=master -O git-p4 && chmod +x git-p4
sudo mv git-p4 /usr/lib/git-core/
这篇关于git-p4:致命:git的构建不支持git-p4(NO_PYTHON = 1)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文