ERROR: LoadError: ArgumentError: No file exists at given path: Datasets.jld2
I have tried loading the file from its own route first but doesn’t seem to help. The datasets file is in the same folder as the main .jl file and I’m not sure how to get it to read it.
I’m sure I’m missing something obvious but can’t for the life of me figure out what or see an existing thread with the same problem.
Julia’s working directory may be different from the file it’s executing. One easy solution here is to use the special @__DIR__ macro to ensure the path is resolved relative to the Julia file: