2014-12-07 115 views
0

從github克隆的incanter。當我嘗試做lein deps時,出現一堆錯誤:lein deps從github克隆的incanter失敗

[email protected] ~/Documents/clojure $ git clone https://github.com/incanter/incanter.git 
Cloning into 'incanter'... 
remote: Counting objects: 12328, done. 
remote: Total 12328 (delta 0), reused 0 (delta 0) 
Receiving objects: 100% (12328/12328), 40.96 MiB | 402.00 KiB/s, done. 
Resolving deltas: 100% (7077/7077), done. 
Checking connectivity... done. 
[email protected] ~/Documents/clojure $ cd incanter/ 
[email protected] ~/Documents/clojure/incanter $ lein deps 
Could not find artifact incanter:incanter-core:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-io:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-charts:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-mongodb:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-pdf:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-svg:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-latex:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-excel:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-sql:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
Could not find artifact incanter:incanter-zoo:jar:1.5.6-SNAPSHOT in clojars (https://clojars.org/repo/) 
This could be due to a typo in :dependencies or network issues. 
If you are behind a proxy, try setting the 'http_proxy' environment variable. 
[email protected] ~/Documents/clojure/incanter $ 

不確定問題出在哪裏。我在幾個不同的時間嘗試了這一點,看它是否與網絡問題有關,但問題依然存在。

回答

1

您需要執行script/install編譯代碼&安裝到一切的本地倉庫...

0

尚未在Clojars上提供incanter 1.5.6。例如https://clojars.org/search?q=incanter-core

+0

嘛,他試圖建立咒術本地。但我想他需要先建立incanter- *依賴關係? – 2014-12-09 15:39:40

+0

@NathanDavis是的,我認爲你是對的。我的錯。 – Bill 2014-12-09 18:23:37