# Pkg.instantiate() error

**URL:** https://discourse.julialang.org/t/pkg-instantiate-error/24386
**Category:** General Usage
**Created:** [May 19, 2019, 8:07pm UTC](https://discourse.julialang.org/t/pkg-instantiate-error/24386 "2019-05-19T20:07:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![juliauser](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@juliauser](https://discourse.julialang.org/u/juliauser)
#### Post date: [May 19, 2019, 8:08pm UTC](https://discourse.julialang.org/t/pkg-instantiate-error/24386/1 "2019-05-19T20:08:00Z")

</div>

Hi,

When I start Julia and load packages - e.g. I type using Calculus - I get an error that says it cannot find the package and that I need to use Pkg.instantiate(). After I do that, the package loads. It is annoying as Pkg.instantiate() needs to be run before loading each package.

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [May 20, 2019, 6:25am UTC](https://discourse.julialang.org/t/pkg-instantiate-error/24386/2 "2019-05-20T06:25:06Z")

</div>

What does

```julia
pkg> st Calculus

```

print? (you can get the `pkg>` prompt with `]`).

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [May 20, 2019, 6:33am UTC](https://discourse.julialang.org/t/pkg-instantiate-error/24386/3 "2019-05-20T06:33:12Z")

</div>

This means that the files of the package has been deleted so we only have a “reference” to it from the Project / Manifest file. In order to actually use the package it needs to be downloaded.

Unless you are deleting the folder where packages gets installed `.julia/packages` I’m not sure why this would happen.
