PythonCall.jl
                                
                                 PythonCall.jl copied to clipboard
                                
                                    PythonCall.jl copied to clipboard
                            
                            
                            
                        Python and Julia in harmony.
I would not expect this to work anyways but just wanted to point it out: ```python [ins] In [1]: from julia import Main as pyjulia_jl [ins] In [2]: from juliacall...
@cjdoris Is there an automatic way to force type conversions when passing Python objects to methods? Or, in other words, is there a way to automatically convert Python arguments to...
**Affects:** PythonCall **Describe the bug** When I use PythonCall (through "using PythonCall"), no CondaPkg.toml is created in my current Julia environment, but a central CondaPkg.toml in my user/.julia folder is...
**Affects:** PythonCall **Describe the bug** I'm executing the following code ```julia julia> using PythonCall pkg> conda add numpy julia> Py(randn(10)).to_numpy().dtype ``` I expect the dtype to be a float64, and...
**Affects:** Both **Describe the bug** This is a bug that has plagued PyCall/PyJulia for a while and it seems the same issue occurs with PythonCall/juliacall. I've been discussing potential solutions...
Minimal example: ``` $ python -c 'import juliacall; import torch; print("Done.")' Segmentation fault (core dumped) ``` The segfault happens at 0x00007fffa673c342 in __kmp_env_blk_init () in libgomp.so.1 Importing only one of...
Hello, I have a potential issue originally posted as a Discussion a few weeks back. I haven't gotten any responses, so I'm moving it to an issue in hopes of...
A feature request to enable support for functionality mirroring PyCall's pystrings. It is very helpful when people are transitioning from python to Julia to be able to execute and grab...
**Affects:** JuliaCall **Describe the bug** ``` from juliacall import Main as jl z = jl.seval("[0 1; 2 3]") z[0] ``` results in the stack trace ``` File ~/.julia/packages/PythonCall/wXfah/src/jlwrap/array.jl:310, in __getitem__(self,...
**Affects:** JuliaCall **Describe the bug** Using JuliaCall with Ubuntu 22.04 system python (python-3.10) results in `free(): invalid pointer` crash if a Julia package is imported that also imports/uses PyCall. I...