# Error while running the script

**URL:** <https://discourse.pumas.ai/t/error-while-running-the-script/1329>\
**Category:** Uncategorized\
**Created:** [December 15, 2025, 3:57am UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329 "2025-12-15T03:57:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkolachana](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@kkolachana](https://discourse.pumas.ai/u/kkolachana)\
**Post date:** [December 15, 2025, 3:57am UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329/1 "2025-12-15T03:57:44Z")

</div>

I installed new version of Pumas and unable to execute. Please see the screenshot. I tried to troubleshoot but with no success. I loaded all the libraries. Could you please help me on this? thanks

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

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/michael/32/818_2.png) [@Michael](https://discourse.pumas.ai/u/Michael)\
**Post date:** [December 15, 2025, 8:22am UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329/2 "2025-12-15T08:22:16Z")

</div>

Hi @kkolachana,

> [@kkolachana](#):
>
> I tried to troubleshoot but with no success. I loaded all the libraries.

Could you please show the code where you loaded the libraries so we can confirm whether that is correct or not? As well as any errors that loading the libraries printed. The screenshot does not show that part of the script.

Kind regards,  
Michael Hatherly

---

<div class="post-metadata">

**Author:** ![kkolachana](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@kkolachana](https://discourse.pumas.ai/u/kkolachana)\
**Post date:** [December 15, 2025, 8:16pm UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329/3 "2025-12-15T20:16:54Z")

</div>

Sure .. Here it is

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

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/michael/32/818_2.png) [@Michael](https://discourse.pumas.ai/u/Michael)\
**Post date:** [December 16, 2025, 8:08am UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329/4 "2025-12-16T08:08:28Z")

</div>

When you run `using Pumas` what error message is shown in the REPL?

---

<div class="post-metadata">

**Author:** ![kkolachana](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@kkolachana](https://discourse.pumas.ai/u/kkolachana)\
**Post date:** [December 16, 2025, 10:48am UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329/5 "2025-12-16T10:48:05Z")

</div>

I dont see any error message . Please see the screenshot .

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

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/michael/32/818_2.png) [@Michael](https://discourse.pumas.ai/u/Michael)\
**Post date:** [December 16, 2025, 1:11pm UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329/6 "2025-12-16T13:11:28Z")

</div>

That looks like `Pumas` is loading fine. Did you try evaluating that `@model` into the REPL _after_ the `using Pumas` call?

---

<div class="post-metadata">

**Author:** ![kkolachana](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@kkolachana](https://discourse.pumas.ai/u/kkolachana)\
**Post date:** [December 17, 2025, 2:52am UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329/7 "2025-12-17T02:52:35Z")

</div>

@model runs successfully after using Pumas call … Do I have to execute ‘using Pumas’ separately every time ? even after loading all the libraries.?

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pumas/original/1X/3023b6e83988f229f14ae1e7ed3601db4c8d0983.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:** [December 17, 2025, 3:13am UTC](https://discourse.pumas.ai/t/error-while-running-the-script/1329/8 "2025-12-17T03:13:30Z")

</div>

Yes, everytime you open VSCode, you will have to execute the `using Pumas` or for that matter any other package, just like in R or any other language.

Also, where did you pick these packages in the screenshot from? We don’t support `Weave` anymore, although you can use it.
