Nick Römer
Nick Römer
I'm interested in a 32 bit compilation, too (armhf). I run Clojure on my Android smartphone via termux (spacemacs and lein-clojupyter are running fine).
I was probably too quick. Graal is not available for ARM32. Is that a dependency?
Hi Chris,That is very good news! I will try it out. Please give me some time, I have a lot of work these days.I try do it in the coming...
Show: Project-Only All Hide: Clojure Java REPL Tooling Duplicates (13 frames hidden) 1. Unhandled java.lang.Exception Failed to find a valid python library! python.clj: 84 libpython-clj2.python/initialize! python.clj: 43 libpython-clj2.python/initialize! RestFn.java: 397...
1. On loading libpython-clj I get SLF4J: Failed to load class "org.slf4j.impl\.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) log\ger implementationSLF4J: See http://www.slf4j.org/codes.html#\StaticLoggerBinder for further details.2. I tried (py/initialize! :python-executable "/data/d\ata/com.termux/files/usr/bin/python3.9":library-path "/data/data/com.termux/files/\usr/lib/libpython3.9.so.1.0") but...
Ok, thank you! Here's the log:09:52:17.516 [nREPL-session-8fc689b3-7c50-4710-83f0-d3011ce988c2] INFO li\bpython-clj2.python.info - Detecting startup info for Python executable /data/data/com.termux/files/usr/bin/python3.909:52:19.396 [nREPL-session-8fc689b3-7c50-4710-83f0-d3011ce988c2] INFO libpython-clj2.python - Startup info {:lib-version "3.9", :java-library-path-addendum "/data/data/com.termux/files/usr/lib", :exec-prefix "/data/data/com.termu\x/files/usr", :executable...
The library does exist. I also checked (System/getProperty "java.library.path");; => "/data/data/com.termux/files/usr/l\ib:/usr/java/packages/lib:/lib:/usr/lib"I ran the first part of find-library (from https://github.com/cnuernber/dtype-next/blob/master/src/tech/v3/datatype/ffi.clj)(concat ["libpython3.9.so.1.0"] (->> (clojure.string/split (System/getProperty "java.library.path") #":") (map (comp str #(java.nio.file.Paths/get %...
I made some progress: In my .bashrc I added ```export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib``` (that's where my libpython3.9.so is) Now the py-initialize runs successfully. However, when I try to load numpy I get:...
``` (require-python '[sys]) ;; => :ok ``` ``` (identity sys/path) ;; => ['', '/data/data/com.termux/files/\ usr/lib/python39.zip', '/data/data/com.t\ ermux/files/usr/lib/python3.9', '/data/d\ ata/com.termux/files/usr/lib/python3.9/l\ ib-dynload', '/data/data/com.termux/file\ s/usr/lib/python3.9/site-packages', '/da\ ta/data/com.termux/files/usr/lib/python3\ .9/site-packages/matplotlib-3.3.2+1648.g\ d51638e40-py3.9-linux-armv8l.egg', '/dat\ a/data/com.termux/files/usr/lib/python3.\ 9/site-packages/kiwisolver-1.3.1-py3.9-l\ inux-armv8l.egg',...
So, numpy is on the path. Still it can't find it.