PythonCall.jl icon indicating copy to clipboard operation
PythonCall.jl copied to clipboard

Python and Julia in harmony.

Results 200 PythonCall.jl issues
Sort by recently updated
recently updated
newest added

Make in-place versions of all the API functions, like: ```julia pyimport!(ans, "sys") pyadd!(ans, x, y) pygetattr!(ans, x, "foo") ``` These replace the pointer in `ans::Py` with the result of the...

enhancement

We used to set `Base.stdout` to `PyIO(sys.stdout)` but this causes bugs so is removed. Instead copy the IJulia approach: use `pipe = redirect_stdout()` and have an async task watch the...

enhancement

after frequent use of notebook, the following error would appear. ```julia Worker 4 terminated. Unhandled Task ERROR: IOError: read: connection reset by peer (ECONNRESET) Stacktrace: [1] wait_readnb(x::Sockets.TCPSocket, nb::Int64) @ Base...

Hello! I've an error when i'm trying to run an created app which uses PythonCall. Code for MWE is published here: [https://github.com/YuliyaCl/PythonCall_tst.jl](https://github.com/YuliyaCl/PythonCall_tst.jl). To create an app run file **deploy/compile_app.sh** ....

I'm having trouble when building a sysimage with PythonCall-- or rather, I can built it OK, but then when I use it, like ```julia julia --project=myproject --sysimage=mysysimage.so -e "using Pkg;...

hello I have cupy cuda array and I want to pass it into julia as is. CUDA arrays are just list of pointers so it should be possible from CUDA.jl...

Currently about 7 seconds, 80% compilation

enhancement

When the code is a single identifier, just look it up in the scope instead of evaling anything.

enhancement

I'm trying to use pyinstaller to build a executable with juliacall , here is my code: ```python from juliacall import Main as jl def hello(u = "world"): jl.println(f"hello {u}!") hello()...