pyjulia
pyjulia copied to clipboard
python-jl warning for getindex(o::PyObject, s::Symbol)
I just installed pyjulia. Where does the warning below come from? By now, I would expect PyCall users have migrated to the new dot notation.
$ python-jl
┌ Warning: `getindex(o::PyObject, s::Symbol)` is deprecated in favor of dot overloading (`getproperty`) so elements should now be accessed as e.g. `o.s` instead of `o[:s]`.
│ caller = top-level scope at none:4
└ @ Core none:4
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>
Might be an issue with the APT version -- if you installed julia via apt install julia, then try installing from the binaries instead -- https://julialang.org/downloads/
No idea why the two versions are different, but this worked for me.