PyCall.jl
PyCall.jl copied to clipboard
Package to call Python functions from the Julia language
I'm encountering an issue where: 1. A Conda package is built against libc 3.4.30 (in this case, python-casacore). 2. Conda ships with libc 3.4.30. 3. Running `ldd libcasa_casa.so` shows that...
Working on calling pytorch models from Julia using PyCall. Getting a consistent crash at exit of Julia with `free(): invalid pointer`. Easily reproduced: ``` julia> using PyCall julia> @pyimport torch...
this throws KeyError as before when the attribute isn't there (AttributeError in python) when the attribute is present, but its computation throws a python exception, this PR rethrows it in...
sorry if i'm being dumb about this, but functions with multiple input arguments don't seem to be recognized as functions: ``` julia> using PyCall julia> @pyimport scipy.optimize as so julia>...
Hello! I am trying to build PyCall using a pyenv virtualenv, but I get the following error from `dlopen` ```shell could not load library ".../.pyenv/versions/3.9.10/lib/libpython3.9.dylib" (mach-o file, but is an...
If we install scipy v1.8.1 in the Julia-specific conda environment and call `pyimport("scipy.fft")`, we get the following error: ```julia julia> using PyCall julia> pyimport("scipy.fft") ERROR: PyError (PyImport_ImportModule The Python package...
If Julia's `Threads.nthreads() > 1`, we may want to do some more work to ensure thread safety. In particular: * Call `PyEval_InitThreads()` in `__init__` (this is only needed for Python...
The built file is now `Pkg.dir("PyCall","deps","deps.jl")` as discovered in the investigation of https://github.com/JuliaPy/PyCall.jl/issues/952.
I am hoping my environment is messed up somehow I just start Julia, 'using PyCall' and y to 'add PyCall' I get 'ERROR: LoadError: PyCall not properly installed. Please run...