从github克隆的incanter。当我尝试做一个lein deps时,我遇到了一堆错误:
idf@idf-Satellite-C55t-A ~/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.
idf@idf-Satellite-C55t-A ~/Documents/clojure $ cd incanter/
idf@idf-Satellite-C55t-A ~/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.
idf@idf-Satellite-C55t-A ~/Documents/clojure/incanter $
不确定问题是什么。我已经在几个不同的时间尝试过这个问题,看它是否与网络问题有关,但问题仍然存在。
答案 0 :(得分:1)
您需要执行script/install
来编译代码&将所有内容安装到本地maven存储库...
答案 1 :(得分:0)
Clojars上似乎没有incanter 1.5.6。例如https://clojars.org/search?q=incanter-core