# NCA package error when running Pumas script

**URL:** https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349
**Category:** Installation
**Created:** [January 22, 2026, 10:28am UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349 "2026-01-22T10:28:05Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![netravatpendsey](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/netravatpendsey/32/721_2.png) [@netravatpendsey](https://discourse.pumas.ai/u/netravatpendsey)
#### Post date: [January 22, 2026, 10:28am UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/1 "2026-01-22T10:28:05Z")

</div>

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 ?

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/622c7e5563b757043683995d0f5f3937809d7869.png)

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 not run Pumas](https://discourse.pumas.ai/t/can-not-run-pumas/1323):
>
> When I run Pumas, I encounter this error. Does anyone know how to fix this? Thank you so much! Best regards, Yao

---

<div class="post-metadata">

### Author: ![vijay](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/vijay/32/96_2.png) [@vijay](https://discourse.pumas.ai/u/vijay)
#### Post date: [January 22, 2026, 10:49am UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/2 "2026-01-22T10:49:45Z")

</div>

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

---

<div class="post-metadata">

### Author: ![netravatpendsey](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/netravatpendsey/32/721_2.png) [@netravatpendsey](https://discourse.pumas.ai/u/netravatpendsey)
#### Post date: [January 22, 2026, 11:34am UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/3 "2026-01-22T11:34:57Z")

</div>

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](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/85bb2ba0a5712c3953ac0d0c106ae4d00241a154.png)

---

<div class="post-metadata">

### Author: ![vijay](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/vijay/32/96_2.png) [@vijay](https://discourse.pumas.ai/u/vijay)
#### Post date: [January 22, 2026, 11:45am UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/4 "2026-01-22T11:45:39Z")

</div>

Can you show me the entire vscode panel screenshot please

---

<div class="post-metadata">

### Author: ![netravatpendsey](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/netravatpendsey/32/721_2.png) [@netravatpendsey](https://discourse.pumas.ai/u/netravatpendsey)
#### Post date: [January 22, 2026, 11:51am UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/5 "2026-01-22T11:51:00Z")

</div>

Sure,

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/aa29e4f15ef8a09e82bce1bd9e0bfd5a4fa16f24.png)

---

<div class="post-metadata">

### Author: ![vijay](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/vijay/32/96_2.png) [@vijay](https://discourse.pumas.ai/u/vijay)
#### Post date: [January 22, 2026, 11:58am UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/6 "2026-01-22T11:58:11Z")

</div>

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

---

<div class="post-metadata">

### Author: ![netravatpendsey](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/netravatpendsey/32/721_2.png) [@netravatpendsey](https://discourse.pumas.ai/u/netravatpendsey)
#### Post date: [January 22, 2026, 12:17pm UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/7 "2026-01-22T12:17:29Z")

</div>

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

```json
{
    "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
}

```

---

<div class="post-metadata">

### Author: ![vijay](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/vijay/32/96_2.png) [@vijay](https://discourse.pumas.ai/u/vijay)
#### Post date: [January 22, 2026, 1:02pm UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/8 "2026-01-22T13:02:01Z")

</div>

can you please do the following:

Open Pumas:list versions in the Command Pallette

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/648161c25480cd169648d0356fca920c223fb250.png)

Then click on Pumas version you installed and this opens up

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/fa9bdd0658737b98d08cbf3a3a53bcb94c2565cf.png)

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.

---

<div class="post-metadata">

### Author: ![netravatpendsey](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/netravatpendsey/32/721_2.png) [@netravatpendsey](https://discourse.pumas.ai/u/netravatpendsey)
#### Post date: [January 22, 2026, 1:39pm UTC](https://discourse.pumas.ai/t/nca-package-error-when-running-pumas-script/1349/9 "2026-01-22T13:39:21Z")

</div>

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.
