My Pumas 2.7.0 and Julia 1.11.6 crashed. I removed Pumas 2.7.0, Julia 1.11.6 and VSC and reinstalled VSC, Pumas 2.7.1, and Julia 1.11.6. When I run Start REPL, an error message jumped out. Below is my settings.json. Could you help figure out? Thank you!
Hello @zou29osu-hue,
Would you be able to provide more details here? What were the error messages that appeared afterwards?
Those kinds of “File not found” errors are typically caused by VSCode not being able to find the julia binary on your system PATH. Could you let me know what steps you had taken to remove Pumas, Julia, and VSCode please? Also please confirm that running julia directly in a VSCode terminal pane works correctly?
Could you also please confirm that this specific version of Julia (1.11.6) was what you were trying to use to run Pumas 2.7.0 (and 2.7.1)? The installer should not be using 1.11.6 for either of those versions, it’s meant to be 1.11.5 and 1.11.7 respectively.
I switched to Pumas 2.7.0 and Julia 1.11.5. The error message is still there. Julia works but it cannot find Pumas. Is my JSON setting correct?
Please run the following in that REPL:
import Pkg
Pkg.status()
And then copy paste the output from that here so we can confirm whether you have the correct Julia environment activated in your sessions.
@zou29osu-hue you’ll need to actually run that function Pkg.status(). Note the parenthesis at the end.
Ok, the issue is a bit more clear now.
The Julia environment that is being used in that REPL is not the Pumas 2.7.0 one, hence why you’ll not be able to import Pumas. What steps did you take to open that specific REPL?
Command Palette → Julia: Start REPL
This is the output. Hi Michael, I’m sorry. I need to join another meeting for 30 min. Can I ask your instructions 30 min later? Thank you!
Hi Michael, should I manually install Julia 1.11.5?
No, you do not need to do that manually.
In the command palette type Pumas list versions, pick whichever version you want as default and click configure in the next menu shown to set it as your global default. After that starting a Julia REPL should launch with the correct environment set.
@zou29osu-hue this will be more straightforward to debug on a call. Please respond to my private message sent to you and we can organise a time for a call.
On the debugging call it was found that VSCode was not finding the julia.exe binary on the user’s PATH and hence wasn’t able to start up a Julia REPL. The solution was to find the exact path to this binary in the AppData folder and hard code it in the executablePath in the VSCode settings.












