# NamedTuples and dependent packages

**URL:** <https://discourse.julialang.org/t/namedtuples-and-dependent-packages/14493>\
**Category:** General Usage\
**Created:** [September 3, 2018, 5:27pm UTC](https://discourse.julialang.org/t/namedtuples-and-dependent-packages/14493 "2018-09-03T17:27:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iwelch](https://avatars.discourse-cdn.com/v4/letter/i/8c91f0/32.png) [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Post date:** [September 3, 2018, 5:27pm UTC](https://discourse.julialang.org/t/namedtuples-and-dependent-packages/14493/1 "2018-09-03T17:27:31Z")

</div>

is this my installation problem, or common?

```julia
julia> Pkg.add("NamedTuples")
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package NamedTuples [73a701b4]:
 NamedTuples [73a701b4] log:
 ├─possible versions are: [0.0.1-0.0.3, 0.1.0, 1.0.0, 2.0.0, 2.1.0, 3.0.0-3.0.3, 4.0.0-4.0.2] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.0.1-0.0.3, 0.1.0, 1.0.0, 2.0.0, 2.1.0, 3.0.0-3.0.3, 4.0.0-4.0.2]
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left
Stacktrace:

```

unfortunately, many other packages seem to depend on it, such as Roots, NLSolve, or Optim.

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [September 3, 2018, 5:56pm UTC](https://discourse.julialang.org/t/namedtuples-and-dependent-packages/14493/2 "2018-09-03T17:56:42Z")

</div>

This typically occurs when a package has an upper bound on the supported Julia version, either in REQUIRE or directly in METADATA. In this case the bound was introduced in [https://github.com/JuliaLang/METADATA.jl/pull/17104](https://github.com/JuliaLang/METADATA.jl/pull/17104).

Usually this is done as part of the upgrade to 0.7/1.0, to make sure that incompatible versions can’t be loaded in 0.7 or 1.0, and followed up by new compatible versions with higher bounds. Sometimes when there’s a gap between these, it works to `pkg> add Package#master` in the interim.

NamedTuples is a little special though since named tuples are now part of Julia Base and users of NamedTuples should migrate to using the Base functionality instead. Thus upgrading the package for Julia 0.7 is understandably not a high priority, but I’m sure a PR which does the upgrade would be well received anyway.

---

<div class="post-metadata">

**Author:** ![iwelch](https://avatars.discourse-cdn.com/v4/letter/i/8c91f0/32.png) [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Post date:** [September 3, 2018, 6:41pm UTC](https://discourse.julialang.org/t/namedtuples-and-dependent-packages/14493/3 "2018-09-03T18:41:08Z")

</div>

aye. oddly, I just now succeeded with roots, optim, NLsolve installation. So, I am not sure what held it earlier, but it works now for me.
