From 117bcbafda70354602dae401b24d3a0bbcd5d108 Mon Sep 17 00:00:00 2001 From: Gustavo Goretkin Date: Thu, 7 Mar 2024 17:38:25 -0500 Subject: [PATCH] Ensure error message shows for missing libpython --- src/C/context.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/C/context.jl b/src/C/context.jl index 30281259..66122cfb 100644 --- a/src/C/context.jl +++ b/src/C/context.jl @@ -122,7 +122,7 @@ function init_context() break end end - CTX.lib_path === nothing && error(""" + CTX.lib_path === missing && error(""" Could not find Python library for Python executable $(repr(CTX.exe_path)). If you know where the library is, set environment variable 'JULIA_PYTHONCALL_LIB' to its path.