# A problem of PkgTemplate of \`Base.retry\_load\_extensions()\`

**URL:** <https://discourse.julialang.org/t/a-problem-of-pkgtemplate-of-base-retry-load-extensions/131513>\
**Category:** New to Julia\
**Tags:** pkgtemplates\
**Created:** [August 10, 2025, 2:22pm UTC](https://discourse.julialang.org/t/a-problem-of-pkgtemplate-of-base-retry-load-extensions/131513 "2025-08-10T14:22:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyan](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@Cyan](https://discourse.julialang.org/u/Cyan)\
**Post date:** [August 10, 2025, 2:22pm UTC](https://discourse.julialang.org/t/a-problem-of-pkgtemplate-of-base-retry-load-extensions/131513/1 "2025-08-10T14:22:13Z")

</div>

Hi, all. I use PkgTemplate to create a local package. When I `using` my package, the error shows up:  
`Error: Error during loading of extension FillArraysStatisticsExt of FillArrays, use `Base.retry_load_extensions()` to retry.`  
And after I run `Base.retry_load_extensions()`, I can import my package. I am confused about what is the meaning of `Base.retry_load_extensions()` ?

---

<div class="post-metadata">

**Author:** ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)\
**Post date:** [August 10, 2025, 4:54pm UTC](https://discourse.julialang.org/t/a-problem-of-pkgtemplate-of-base-retry-load-extensions/131513/2 "2025-08-10T16:54:11Z")

</div>

Your first import did partially work, but something went wrong with loading that extension triggered by loading `FillArrays` and `Statistics`. `Base.retry_load_extensions()` just tried loading triggered extensions again. Of course, that shouldn’t happen, and you aren’t expected to manually load extensions like this. I don’t run into this problem in the REPL either.

Is this problem repeatable across new sessions? Does your package evaluate something into the `FillArrays` or `Statistics` modules?
