NCA package error when running Pumas script

I am trying to setup Pumas for a workshop, and I am running into the following error with the NCA package.
Any idea on how to resolve it ?

Quickly scrolling through the previous issues, this might be a similar issue. Should I just proceed with deleting the NCA folder and reinstalling Pumas ?

can you please do the following:

  1. in the terminal, can you provide the result of juliaup status
  2. If the the default (indicated by a star *) is 1.12.X or something other than Pumas, then please do juliaup default Pumas@2.7.1
  3. restart your terminal and VSCode.
  4. make sure juliaup status points to Pumas@2.7.1
  5. start pumas using Ctrl+shift+P –> Start REPL
  6. Then run using Pumas

let us know if that resolves it

I have changed the default to the Pumas@2.7.1 channel.

I think the issue did get resolved because I got a prompt for entering the license key. I don’t think I entered the license key correctly, and now I am running into this error.

image

Can you show me the entire vscode panel screenshot please

Sure,

Ok. Last thing, can you showcase the settings.json. You can do Ctrl+shift+P and type Preferences: Open User Settings (Json) in the bar and show us the contents of the Json file

In other discussions, I see a Julia executable path mentioned, but its completely missing my my VSCode preferences.

{
    "workbench.colorTheme": "Nord Pastel",
    "window.zoomLevel": 1,
    "terminal.integrated.commandsToSkipShell": [
        "language-julia.interrupt",
        "matlab.interrupt"
    ],
    "[matlab]": {
        "editor.defaultFormatter": "MathWorks.language-matlab"
    },
    "julia.symbolCacheDownload": true,
    "julia.enableTelemetry": false,
    "julia.persistentSession.alwaysCopy": true
}

can you please do the following:

Open Pumas:list versions in the Command Pallette

Then click on Pumas version you installed and this opens up

Select - Configure VS Code and allow the popups and set things globally for your VSCode.

Restart VSCode and check your settings.json file. It should be updated. Then start Pumas and try running it.

Thanks,
It now working with a combination of reinstalling Pumas from the extension, and making sure that its a global config, and not a project specific one.

The prompt to enter the license key was a bit wonky on VSCode, but I was able to activate by opening a REPL in a separate PowerShell window and importing the package in it.