# Package installation error (internally developed package)

**URL:** <https://discourse.julialang.org/t/package-installation-error-internally-developed-package/61111>\
**Category:** Package Management\
**Created:** [May 13, 2021, 9:45pm UTC](https://discourse.julialang.org/t/package-installation-error-internally-developed-package/61111 "2021-05-13T21:45:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)\
**Post date:** [May 13, 2021, 9:45pm UTC](https://discourse.julialang.org/t/package-installation-error-internally-developed-package/61111/1 "2021-05-13T21:45:43Z")

</div>

I am developing a package in homedir()\.julia\dev\Foo01 and trying to use it. When I try to use the package the system seems to recognize the package but will not install it with the following error:

```julia
julia> using Foo01
ERROR: ArgumentError: Package Foo01 [654a566b-f95c-4842-85af-64f580923652] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
 [1] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:990
 [2] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:914
 [3] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:901

```

I created the package using PkgTemplate as Foo. Then I decided that I wanted to call it Foo01 so changed its folder name, first line of the Project.toml is correct, and its filename in src is Foo01.jl. I did the Pkg.instantiate() command. Is there something I forgot to change or something I can do to get it working?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [May 13, 2021, 9:52pm UTC](https://discourse.julialang.org/t/package-installation-error-internally-developed-package/61111/2 "2021-05-13T21:52:11Z")

</div>

> [@Jake](#):
>
> changed its folder name, first line of the Project.toml is correct, and its filename in src is Foo01.jl

Did you also update the name inside the source file? E.g. `module Foo` → `module Foo01`?

---

<div class="post-metadata">

**Author:** ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)\
**Post date:** [May 13, 2021, 10:00pm UTC](https://discourse.julialang.org/t/package-installation-error-internally-developed-package/61111/3 "2021-05-13T22:00:34Z")

</div>

Yes, I did rename it.

---

<div class="post-metadata">

**Author:** ![aramirezreyes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aramirezreyes/32/42573_2.png) [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Post date:** [May 13, 2021, 11:44pm UTC](https://discourse.julialang.org/t/package-installation-error-internally-developed-package/61111/4 "2021-05-13T23:44:19Z")

</div>

Are you doing “using” with your package’s environment activated, or from another environment?

If the latter, you may need to ]rm de old name and ]dev the new one again?

---

<div class="post-metadata">

**Author:** ![Jake](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jake/32/46007_2.png) [@Jake](https://discourse.julialang.org/u/Jake)\
**Post date:** [May 14, 2021, 1:54am UTC](https://discourse.julialang.org/t/package-installation-error-internally-developed-package/61111/5 "2021-05-14T01:54:28Z")

</div>

> [@aramirezreyes](#):
>
> you may need to ]rm de old name

That seems to work, thank you.
