closure 环境

有两种方式建立环境

A 下载 closure-1.7xx zip 包

B 使用 leiningen

windows 下 一个 lein.bat

lein.bat self-install

发生异常

lein>lein.bat self-install
Downloading Leiningen now...

使用“2”个参数调用“DownloadFile”时发生异常:“在 WebClient 请求期间发生异常。
”
所在位置 行:1 字符: 165
+ & {param($a,$f) $client = New-Object System.Net.WebClient;  $client.Proxy.Cre
dentials =[System.Net.CredentialCache]::DefaultNetworkCredentials; $client.Down
loadFile <<<< ($a, $f)} "https://github.com/technomancy/leiningen/releases/down
load/2.5.3/leiningen-2.5.3-standalone.zip" "C:\Users\Administrator-410111
552\.lein\self-installs\leiningen-2.5.3-standalone.jar.pending"
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

系统找不到指定的文件。

怀疑是网络 土蔷 问题。

马上开vpn , 几分钟之后, succeed

\lein>lein.bat self-install
Downloading Leiningen now...
移动了         1 个文件。
\lein>lein.bat
Leiningen is a tool for working with Clojure projects.
Several tasks are available:
change              Rewrite project.clj by applying a function.
check               Check syntax and warn on reflection.
classpath           Print the classpath of the current project.


转载于:https://my.oschina.net/u/2536026/blog/536955

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值