We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4fc413 commit dc5d706Copy full SHA for dc5d706
src/cpython/context.jl
@@ -48,6 +48,10 @@ function init_context()
48
# this ensures PyCall uses the same Python interpreter
49
get!(ENV, "PYTHON", exe_path)
50
end
51
+ # On success, delete JULIA_PYTHONCALL_LIBPTR so that further processes do not think
52
+ # they are embedded in Python (e.g. this can happen when precompiling).
53
+ # See https://github.com/cjdoris/PythonCall.jl/issues/235
54
+ delete!(ENV, "JULIA_PYTHONCALL_LIBPTR")
55
else
56
# Find Python executable
57
exe_path = get(ENV, "JULIA_PYTHONCALL_EXE", "")
0 commit comments