lein-jupyter icon indicating copy to clipboard operation
lein-jupyter copied to clipboard

helper/add-dependencies error HTTPS Required

Open ronnac opened this issue 5 years ago • 0 comments

I am trying the following notebook

https://github.com/alanmarazzi/panthera/blob/master/examples/basic-concepts.ipynb

I get an error on the first cell

(require '[clojupyter.misc.helper :as helper])
(helper/add-dependencies '[panthera "0.1-alpha.20"])

Execution error (TransferFailedException) at org.apache.maven.wagon.shared.http4.AbstractHttpClientWagon/fillInputData (AbstractHttpClientWagon.java:852). Failed to transfer file: http://repo1.maven.org/maven2/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.pom. Return code is: 501, ReasonPhrase:HTTPS Required.

Indeed, the http link in error message doesn't work while its https counterpart does.

When I add the dependencies to project.clj and open the project with cider then it correctly fetches the libraries.

is there a setting to tell lein-clojupyter to use https?

ronnac avatar Nov 24 '20 23:11 ronnac