diff --git a/src/startup.jl b/src/startup.jl index 9fa98e6d..b0cfb372 100644 --- a/src/startup.jl +++ b/src/startup.jl @@ -80,6 +80,9 @@ else # If we're not in charge, assume the user is installing necessary python # libraries rather than messing with their configuration const conda = false + # Top-level code (`_current_python`) needs `pyprogramname`. We + # don't need its value but we need to assign something to it: + const pyprogramname = "" end const pyversion = vparse(split(Py_GetVersion(libpy_handle))[1])