Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/282.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 安装NearDuplicatesDetection 0.2.0时出错_Python_Git_Ubuntu 13.10_Anaconda - Fatal编程技术网

Python 安装NearDuplicatesDetection 0.2.0时出错

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_

我只是想使用安装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__.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