我正在尝试安装jupyter-scala以使scala内核与jupyterlab一起工作。我落后于代理并且超时了。我正确设置了http(s)_proxy主机和端口环境变量。
按照此处的说明操作:https://github.com/alexarchambault/jupyter-scala#jupyter-installation
调查jupyter-scala和coursier,我找不到可以设置代理设置的位置。有人知道吗?
谢谢!
命令运行:dataset$LogP = -log10(dataset$p)
dataset$LogMinP = -log10(dataset$min_p)
ggplot(dataset, aes(x = LogP, y = LogMinP)) +
geom_point()
和有趣的位+错误:
sh -x -vvvv jupyter-scala
当我运行/tmp/coursier.e5brtL0K launch -r sonatype:releases -r sonatype:snapshots -i ammonite -I ammonite:org.jupyter-scala:ammonite-runtime_2.11.11:0.8.3-1 -I ammonite:org.jupyter-s
cala:scala-api_2.11.11:0.4.2 org.jupyter-scala:scala-cli_2.11.11:0.4.2 -- --id scala --name Scala
Error while downloading https://oss.sonatype.org/content/repositories/releases/io/get-coursier/coursier-cli_2.11/1.0.0-RC1/coursier-cli_2.11-1.0.0-RC1-standalone.jar: Connecti
on timed out (Connection timed out), ignoring it
时,jar下载所以网址很好。
答案 0 :(得分:0)
(丑陋)解决方案是手动下载jar,然后使用以下命令行启动coursier:
java -Dhttps.proxyHost=proxy -Dhttps.proxyPort=80 \
-cp coursier-cli_2.11-1.0.0-RC1-standalone.jar coursier.cli.Coursier