我只想使用以下命令安装 NearDuplicatesDetection 0.2.0

pip install 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__.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

我怎样才能解决这个问题?先感谢您!

有帮助吗?

解决方案

组合的正确语法 gitpip 是:

pip install git+https://github.com/parkr/near-dup-detection.git#egg=NearDuplicatesDetection
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top