2016-12-06 277 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'中不起作用。 –