Skip to content

Commit 24e6e17

Browse files
authored
Ensure error message shows for missing libpython (#471)
1 parent c2af996 commit 24e6e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/C/context.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function init_context()
122122
break
123123
end
124124
end
125-
CTX.lib_path === nothing && error("""
125+
CTX.lib_path === missing && error("""
126126
Could not find Python library for Python executable $(repr(CTX.exe_path)).
127127
128128
If you know where the library is, set environment variable 'JULIA_PYTHONCALL_LIB' to its path.

0 commit comments

Comments
 (0)