# Dependencies error in packages

**URL:** https://discourse.julialang.org/t/dependencies-error-in-packages/16706
**Category:** New to Julia
**Tags:** package
**Created:** [October 23, 2018, 7:35pm UTC](https://discourse.julialang.org/t/dependencies-error-in-packages/16706 "2018-10-23T19:35:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![s-baumann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/s-baumann/32/5843_2.png) [@s-baumann](https://discourse.julialang.org/u/s-baumann)
#### Post date: [October 23, 2018, 7:35pm UTC](https://discourse.julialang.org/t/dependencies-error-in-packages/16706/1 "2018-10-23T19:35:34Z")

</div>

I have two packages. [SchumakerSpline](https://github.com/s-baumann/SchumakerSpline.jl) and [UnivariateFunctions](https://github.com/s-baumann/UnivariateFunctions.jl). In building Univariate Functions it passes build on my computer and [Travis CI](https://travis-ci.org/JuliaLang/METADATA.jl/builds/444805781?utm_source=github_status&utm_medium=notification) but fails on [JuliaCIBot](https://juliarun-ci.s3.amazonaws.com/dc413b5f2f911a28ee3866e0eaa156a4237bdc24/pull_request_of_UnivariateFunctions_on_julia_1_0.log) with the error message:

ERROR: LoadError: ArgumentError: Package UnivariateFunctions does not have SchumakerSpline in its dependencies:

- If you have UnivariateFunctions checked out for development and have  
added SchumakerSpline as a dependency but haven’t updated your primary  
environment’s manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with UnivariateFunctions

I have SchumakerSpline as a dependency in the [following files](https://github.com/s-baumann/UnivariateFunctions.jl): REQUIRE, Project.toml and Manifest.toml. What am I missing here? How do I fix it?

---

<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: [October 23, 2018, 7:38pm UTC](https://discourse.julialang.org/t/dependencies-error-in-packages/16706/2 "2018-10-23T19:38:35Z")

</div>

[https://github.com/s-baumann/SchumakerSpline.jl/blob/7abfc4e7adaed25c8243210de56472a089f35264/Project.toml#L3](https://github.com/s-baumann/SchumakerSpline.jl/blob/7abfc4e7adaed25c8243210de56472a089f35264/Project.toml#L3)

and

[https://github.com/s-baumann/UnivariateFunctions.jl/blob/0e20f3bb31b54f981098f2c528c7dd2674b2dc42/Project.toml#L8](https://github.com/s-baumann/UnivariateFunctions.jl/blob/0e20f3bb31b54f981098f2c528c7dd2674b2dc42/Project.toml#L8)

doesn’t seem to match

---

<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: [October 23, 2018, 7:39pm UTC](https://discourse.julialang.org/t/dependencies-error-in-packages/16706/3 "2018-10-23T19:39:30Z")

</div>

Use `"65e68595-3a03-5ff5-a6a2-f05fa774f32e"` in [SchumakerSpline.jl/Project.toml at 7abfc4e7adaed25c8243210de56472a089f35264 · s-baumann/SchumakerSpline.jl · GitHub](https://github.com/s-baumann/SchumakerSpline.jl/blob/7abfc4e7adaed25c8243210de56472a089f35264/Project.toml#L3) should fix it.

---

<div class="post-metadata">

### Author: ![s-baumann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/s-baumann/32/5843_2.png) [@s-baumann](https://discourse.julialang.org/u/s-baumann)
#### Post date: [October 23, 2018, 8:38pm UTC](https://discourse.julialang.org/t/dependencies-error-in-packages/16706/4 "2018-10-23T20:38:59Z")

</div>

Thanks, This makes alot of sense but every time I go add SchumakerSpline to a package in the REPL I get the UUID ending 32e. This is also the UUID in my .julia\environments\v1.0\Project.toml file.  
I have deleted this Project.toml and the corresponding manifest and all packages but it is still getting this incorrect toml in the computer’s environment tomls when adding SchumakerSpline. This is despite the SchumakerSpline in the .julia\packages\SchumakerSpline\wWjzb having tomls with the correct UUID ending e72.  
Any idea of how this mismatch might be coming from and how to stop it?

---

<div class="post-metadata">

### Author: ![s-baumann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/s-baumann/32/5843_2.png) [@s-baumann](https://discourse.julialang.org/u/s-baumann)
#### Post date: [October 23, 2018, 9:34pm UTC](https://discourse.julialang.org/t/dependencies-error-in-packages/16706/5 "2018-10-23T21:34:49Z")

</div>

I have found the origin of the UUID. It is here [General/Package.toml at master · JuliaRegistries/General · GitHub](https://github.com/JuliaRegistries/General/blob/master/S/SchumakerSpline/Package.toml)  
I think there is an official UUID for every package here.  
I guess that now I convert everything to match the official UUIDs here.  
Thanks everyone for the advice on this.

---

<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: [October 24, 2018, 5:57am UTC](https://discourse.julialang.org/t/dependencies-error-in-packages/16706/6 "2018-10-24T05:57:40Z")

</div>

> [@s-baumann](#):
>
> I think there is an official UUID for every package here.

Also see `Pkg.METADATA_compatible_uuid`.
