Skip to content

Conversation

t-bltg
Copy link

@t-bltg t-bltg commented Oct 8, 2025

ERROR: LoadError: InitError: Python: Julia: UndefVarError: `Core` not defined in `PythonCall.Compat`
Hint: It looks like two or more modules export different bindings with this name, resulting in ambiguity. Try explicitly importing it from a particular module, or qualifying the name with the module it should come from.
Hint: a global variable of this name also exists in Core.
Stacktrace:
  [1] (::PythonCall.Compat.var"#1#2")()
    @ PythonCall.Compat [...]/.julia/packages/PythonCall/mkWc2/src/Compat/gui.jl:162

Qualify explicitly the Core module to avoid LoadError.

@t-bltg t-bltg changed the title qualify module qualify Core module Oct 8, 2025
@cjdoris
Copy link
Collaborator

cjdoris commented Oct 9, 2025

Thanks but it's already fixed in #683

@cjdoris cjdoris closed this Oct 9, 2025
@t-bltg t-bltg deleted the patch-1 branch October 9, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants