libpython-clj icon indicating copy to clipboard operation
libpython-clj copied to clipboard

Python bindings for Clojure

Results 50 libpython-clj issues
Sort by recently updated
recently updated
newest added

Hi, there is no extended CI coverage to non-linux archs to indicate the lib can run on any of the non-linux architectures. It is currently broken on MS-Windows (see #246)...

Thanks for the great work @cnuernber , I'm getting some issues when I try to build the images in in `dockerfiles` and it looks like its because you're starting `FROM...

This will collect memory automatically: ```console (py/run-simple-string " import torch.utils.data as tud import torch class DebugDataset (tud.Dataset): def __init__(self): pass def __len__(self): return 1000 def __getitem__ (self, i): return torch.rand(1000,...

This syntax cannot be used in libpython-clj, ``` from yellowbrick.contrib.wrapper import CLASSIFIER ``` when classifier is a String. ``` (py/from-import yellowbrick.contrib.wrapper CLASSIFIER) ``` fails with ``` Unhandled java.lang.IllegalArgumentException No implementation...

As a FUP of #221 which provided a new pathway to see the exception, but does not prevent the "hanging" in an other pathway. The simplest scenario is that we...

I don't know whether it's a common problem. When I imported some big deep-learning module, for example, paddlenlp, and after I finished some computation, nRepl would crash with the info...

Following code stop with > AttributeError: 'builtin_function_or_method' object has no attribute '__code__'. Did you mean: '__call__'? ```clojure (ns pytorchlightning.core (:gen-class) (:require [libpython-clj2.python :as py :refer [ py. py.- as-jvm set-attr!...

similar to this: https://github.com/scicloj/devcontainer-templates/tree/main/src/scicloj (not needed things can be removed, if needed) -> Makes hacking on `libpython-clj` a bit easier. The setup as well be re-used for a test suite...

``see here for details: https://clojurians.zulipchat.com/#narrow/stream/215609-libpython-clj-dev/topic/poetry.20install.20--sync I can do a PR, if you are interested This would be full optional, and triggers only if specified inside python.edn: {:python-executable ".venv/bin/python" :pre-initialize-fn libpython-clj2.python.poetry/setup!}

fix: update 'with' macro to bind return value of `__enter__` correctly https://github.com/clj-python/libpython-clj/issues/273