libpython-clj
libpython-clj copied to clipboard
Python bindings for Clojure
Hi, I was using `codegen/write-namespace!` and found that using a `nil` `:ns-prefix` results in a generated namespace that starts with a `.`. This makes the generated namespace an illegal Java...
how can this part from [this](https://huggingface.co/docs/transformers/model_doc/bert#transformers.BertForNextSentencePrediction.forward.example) huggingface example ```python outputs = model(**encoding, labels=torch.LongTensor([1])) ``` be translated to libpython-clj?
Huge thanks for the great library. I'm wondering if the following is possible. ## The problem I want to call python functions with `asyncio.get_event_loop()` inside go blocks. The `get_event_loop` is...
Hi Thanks for writing this library. I am trying to call a method on a pandas [Series](https://pandas.pydata.org/docs/reference/api/pandas.Series.html) object to produce a plot for various kinds of graphs. I have this...
If you check this `https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh` you'll get a 404. When you build the current CondaDockerfile, since it returns html you get some bash syntax error in the next line.
I'm using `libpython-clj 2.018` with aarch64 jdk-18.0.1.jdk, with `:jdk-17` alias' `:jvm-opts` and I get this error when `(require '[libpython-clj2.require :refer [require-python]])` on an M1 Mac: `INFO: Unable to find direct...
see here: https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev/topic/JVM.20crash.20on.20'take.20gil'
`depstar` has been deprecated and archived for six month now; I'm encouraging everyone to switch to `tools.build`. My `build-clj` wrapper makes it easier to switch.
OS: Arch 5.15.11-arch2-1 Libpython-clj 2.006 pyenv 2.2.3 I get a "Failed to find a valid python library!" when using a python library version set as global using pyenv [which is...
libpython-clj project.clj: (defproject pycloj "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "EPL-2.0 OR GPL-2.0-or-la\ ter WITH Classpath-exception-2.0" :url "https://www.eclipse.org/l\ egal/epl-2.0/"} :dependencies [[org.clojure/clojure "1.10\ .2"] [clj-python/libpython-clj \ "2.00-beta-10"] ]...