2016-12-06 144 views
1

我正尝试在Anaconda的Windows 10系统上使用method provided by Yelaman安装keras(用于使用LSTM)。但在运行命令后pip install git+git://github.com/Theano/Theano.git,我收到了以下致命的错误 -安装keras时发生致命错误

C:\Anaconda>pip install git+git://github.com/Theano/Theano.git

Collecting git+git://github.com/Theano/Theano.git

Cloning git://github.com/Theano/Theano.git to c:\users\krishna\appdata\local\temp\pip-reettr-build fatal: protocol error: bad line length character:

Er

Command "git clone -q git://github.com/Theano/Theano.git c:\users\krishna\appdata\local\temp\pip-reettr-build" failed with error code 128 in None

我没有GitHub的帐户,但我用到位桶(如果该事项)使用git

任何人都可以向我解释我正在犯什么错误,如果有出路?我的主要目标是在Windows中的Anaconda中使用keras。

谢谢!

+1

我建议使用Theano UNIX系统上,因为我还没有成功安装它来代替pip install git+git://github.com/Theano/Theano.git在我的Windows上由于编译器错误。另一方面,unix的安装非常简单 – Mark

回答

1

看来,错误可能是因为我们有一个git存储库列为依赖项。虽然还不完全确定。 (Source

的解决方案是与pip install git+http://github.com/Theano/Theano.git即与http替换第二git(这工作,因为仓库是公开的)

+1

我记得'git + git://'URL在'pip'中不起作用。 –