Segmentation Fault in REPL when using PyCall and networkx

I tried to use networkx via PyCall today. This triggered a segment fault. It does not seem to be problem will running this as a script.

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.3 (2025-01-21)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using PyCall
 │ Package PyCall not found, but a package named PyCall is available from a registry. 
 │ Install package?
 │   (@v1.11) pkg> add PyCall 
 └ (y/n/o) [y]: y
   Resolving package versions...
    Updating `~/.julia/environments/v1.11/Project.toml`
  [1a9614b5] ~ LLMAccess v1.8.1-DEV `~/code/ai/llmaccess.jl` ⇒ v1.9.1-DEV `~/code/ai/llmaccess.jl`
  [438e738f] + PyCall v1.96.4
    Updating `~/.julia/environments/v1.11/Manifest.toml`
  [1a9614b5] ~ LLMAccess v1.8.1-DEV `~/code/ai/llmaccess.jl` ⇒ v1.9.1-DEV `~/code/ai/llmaccess.jl`

julia> pyimport_conda("networkx", "networkx")^C

julia> nx = pyimport("networkx")
PyObject <module 'networkx' from '/home/xing/.julia/conda/3/lib/python3.12/site-packages/networkx/__init__.py'>

julia> nx.
[52170] signal 11 (1): Segmentation fault
in expression starting at none:0
_PyInterpreterState_GET at /usr/local/src/conda/python-3.12.6/Include/internal/pycore_pystate.h:133 [inlined]
_PyType_Lookup at /usr/local/src/conda/python-3.12.6/Objects/typeobject.c:4727 [inlined]
_PyObject_LookupSpecial at /usr/local/src/conda/python-3.12.6/Objects/typeobject.c:2165
_dir_object at /usr/local/src/conda/python-3.12.6/Objects/object.c:1741 [inlined]
PyObject_Dir at /usr/local/src/conda/python-3.12.6/Objects/object.c:1773
macro expansion at /home/xing/.julia/packages/PyCall/1gn3u/src/exception.jl:108 [inlined]
propertynames at /home/xing/.julia/packages/PyCall/1gn3u/src/PyCall.jl:327
propertynames at ./reflection.jl:2612
unknown function (ip: 0x7f7ae2d2934b)
complete_symbol at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/REPLCompletions.jl:208
#complete_identifiers!#57 at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/REPLCompletions.jl:1179
complete_identifiers! at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/REPLCompletions.jl:1079 [inlined]
completions at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/REPLCompletions.jl:1436
#complete_line#85 at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:637
complete_line at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:634
jfptr_complete_line_10624.1 at /home/xing/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/share/julia/compiled/v1.11/REPL/u0gqU_XvZAg.so (unknown line)
check_for_hint at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:387
#143 at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2527
jl_apply at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/src/julia.h:2157 [inlined]
jl_f__call_latest at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/src/builtins.c:875
#invokelatest#2 at ./essentials.jl:1055 [inlined]
invokelatest at ./essentials.jl:1052 [inlined]
#30 at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:1711
jfptr_YY.30_8178.1 at /home/xing/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/share/julia/compiled/v1.11/REPL/u0gqU_XvZAg.so (unknown line)
macro expansion at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2861 [inlined]
macro expansion at ./lock.jl:273 [inlined]
#282 at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/usr/share/julia/stdlib/v1.11/REPL/src/LineEdit.jl:2851
jfptr_YY.282_8757.1 at /home/xing/.julia/juliaup/julia-1.11.3+0.x64.linux.gnu/share/julia/compiled/v1.11/REPL/u0gqU_XvZAg.so (unknown line)
jl_apply at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/src/julia.h:2157 [inlined]
start_task at /cache/build/builder-demeter6-3/julialang/julia-release-1-dot-11/src/task.c:1202
Allocations: 9834229 (Pool: 9832584; Big: 1645); GC: 10
Segmentation fault (core dumped)