Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not locate clojure/math/numeric_tower__init.class or clojure/math/numeric_tower.clj on classpath

On a fresh lein install, when I start the repl via lein repl and enter into the repl:

(use 'clojure.math.numeric-tower)

It throws an error:

FileNotFoundException Could not locate clojure/math/numeric_tower__init.class or clojure/math/numeric_tower.clj on classpath.

I'm new to Clojure so I don't really know how to fix this.

Lein version: Leiningen 2.7.1 (lein -v)

Clojure version: 1.8.0 ( (clojure-version) )

like image 263
ppsreejith Avatar asked Jul 30 '17 13:07

ppsreejith


1 Answers

Add [org.clojure/math.numeric-tower "0.0.4"] to the project's dependencies (in project.clj) and restart the repl.

like image 130
mgyongyosi Avatar answered Nov 15 '22 02:11

mgyongyosi