Open ARogovskyy opened 2 years ago
I also came across this issue while installing IJulia.jl
with IJULIA_NODEFAULTKERNEL
flag.
I fixed it by moving the include outside the conditional.
include("kspec.jl")
if !haskey(ENV, "IJULIA_NODEFAULTKERNEL")
# Install Jupyter kernel-spec file.
kernelpath = installkernel("Julia", "--project=@.")
end
That change seems fine to me if you want to submit a PR.
If I install IJulia with IJULIA_NODEFAULTKERNEL, it fails. Stacktrae
The exe function is defined in
deps/kspec.jl
. However, this is only (indirectly) run inbuild.jl
during the installation of the default kernel:Thus, if we skip it, exe will not have been defined.