Python 安装NearDuplicatesDetection 0.2.0时出错
我只是想使用安装NearDuplicatesDetection 0.2.0 pip安装git://github.com/parkr/near-dup-detection.git#egg=NearDuplicatesDetection 但我有一个错误:Python 安装NearDuplicatesDetection 0.2.0时出错,python,git,ubuntu-13.10,anaconda,Python,Git,Ubuntu 13.10,Anaconda,我只是想使用安装NearDuplicatesDetection 0.2.0 pip安装git://github.com/parkr/near-dup-detection.git#egg=NearDuplicatesDetection 但我有一个错误: 184, in get_url_rev url, rev = super(Git, self).get_url_rev() File ".../anaconda/lib/python2.7/site-packages/pip/vcs/__init_
184, in get_url_rev
url, rev = super(Git, self).get_url_rev()
File ".../anaconda/lib/python2.7/site-packages/pip/vcs/__init__.py", line 124,
in get_url_rev
assert '+' in self.url, error_message % self.url
AssertionError: Sorry, 'git://github.com/parkr/near-dup-detection.git' is a malformed VCS
url. The format is <vcs>+<protocol>://<url>, e.g. svn+http://myrepo/svn/MyApp#egg=MyApp
184,在get\u url\u rev中
url,rev=super(Git,self)
文件“../anaconda/lib/python2.7/site packages/pip/vcs/_init__.py”,第124行,
在get\u url\u rev中
在self.url中断言“+”,错误消息%self.url
断言者:对不起,'git://github.com/parkr/near-dup-detection.git'是格式不正确的VCS
网址。格式为+:/,例如svn+http://myrepo/svn/MyApp#egg=MyApp
我怎样才能解决这个问题?提前谢谢你 将
git
与pip
组合的正确语法是:
pip install git+https://github.com/parkr/near-dup-detection.git#egg=NearDuplicatesDetection