# Problem with SPICE package installation

**URL:** <https://discourse.julialang.org/t/problem-with-spice-package-installation/19633>\
**Category:** New to Julia\
**Created:** [January 14, 2019, 5:49pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633 "2019-01-14T17:49:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![theeJoker](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@theeJoker](https://discourse.julialang.org/u/theeJoker)\
**Post date:** [January 14, 2019, 5:49pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/1 "2019-01-14T17:49:37Z")

</div>

So i was trying to install the SPICE package by julia Astro and i used the command  
Pkg.clone(“[GitHub - JuliaAstro/SPICE.jl: Julia wrapper for NASA NAIF's SPICE toolkit](https://github.com/JuliaAstrodynamics/SPICE.jl.git)”)

but i cannot use the package

I get the error  
**Package SPICE [c2290294-eb73-5b2e-bb90-69dd5239354b] is required but does not seem to be installed:**  
\*\* - Run `Pkg.instantiate()` to install all recorded dependencies.\*\*

even though when i run Pkg.installed() it shows the package SPICE

 ![13%20PM](https://global.discourse-cdn.com/julialang/original/3X/a/a/aab61def20b0e65f421015e6b2b726352fdf4c70.png)

please help me!!

---

<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:** [January 14, 2019, 6:00pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/2 "2019-01-14T18:00:01Z")

</div>

You shouldn’t really be using `Pkg.installed()`, use `Pkg.status()` instead.

What is the output of `Pkg.status()`?

PS. Copy and paste the input/output from the terminal instead of using print screen, since images can be difficult to read, and they are not searchable.

---

<div class="post-metadata">

**Author:** ![theeJoker](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@theeJoker](https://discourse.julialang.org/u/theeJoker)\
**Post date:** [January 15, 2019, 5:48am UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/3 "2019-01-15T05:48:08Z")

</div>

![02%20AM](https://global.discourse-cdn.com/julialang/original/3X/3/2/321305e67c8095a5dd27163b65b91879222fedbe.png)  
@fredrikekre  
This is the output of Pkg.status()

---

<div class="post-metadata">

**Author:** ![00vareladavid](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/00vareladavid/32/23521_2.png) [@00vareladavid](https://discourse.julialang.org/u/00vareladavid)\
**Post date:** [January 15, 2019, 6:42am UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/4 "2019-01-15T06:42:40Z")

</div>

As @fredrikekre points out, follow this guide when asking for help: [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757). I think you will find volunteers are more willing to help when you show initiative in finding a solution.

---

<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:** [January 15, 2019, 12:45pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/5 "2019-01-15T12:45:11Z")

</div>

So, what is the content of `~/.julia/dev/SPICE`? What if you `Pkg.rm("SPICE")` and then add it again with `Pkg.add` instead of `Pkg.clone`?

And again:

> [@fredrikekre](#):
>
> PS. Copy and paste the input/output from the terminal instead of using print screen, since images can be difficult to read, and they are not searchable.

---

<div class="post-metadata">

**Author:** ![theeJoker](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@theeJoker](https://discourse.julialang.org/u/theeJoker)\
**Post date:** [January 15, 2019, 2:13pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/6 "2019-01-15T14:13:49Z")

</div>

@fredrikekre when I do Pkg.add(“SPICE”) I get the error  
**ERROR: The following package names could not be resolved:**  
\*\* \* SPICE (not found in project, manifest or registry)\*\*  
**Please specify by known `name=uuid`.**

---

<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:** [January 15, 2019, 2:20pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/7 "2019-01-15T14:20:19Z")

</div>

`SPICE` is not registered so you need to add with a url:

```julia
Pkg.add(PackageSpec(url = "https://github.com/JuliaAstro/SPICE.jl.git"))

```

---

<div class="post-metadata">

**Author:** ![theeJoker](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@theeJoker](https://discourse.julialang.org/u/theeJoker)\
**Post date:** [January 15, 2019, 2:56pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/8 "2019-01-15T14:56:13Z")

</div>

> [@fredrikekre](#):
>
> Pkg.add(PackageSpec(url = “[GitHub - JuliaAstro/SPICE.jl: Julia wrapper for NASA NAIF's SPICE toolkit](https://github.com/JuliaAstro/SPICE.jl.git)”))

thanks a ton man!!!

---

<div class="post-metadata">

**Author:** ![theeJoker](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@theeJoker](https://discourse.julialang.org/u/theeJoker)\
**Post date:** [January 15, 2019, 2:08pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/9 "2019-01-15T14:08:55Z")

</div>

It has been two days since I am trying to install SPICE.jl but got no luck.  
I have tried it on Julia 1.0  
I am getting the error

**ERROR: Unsatisfiable requirements detected for package Requests [df88083b]:**  
\*\* Requests [df88083b] log:\*\*  
\*\* ├─possible versions are: [0.0.1-0.0.8, 0.1.0-0.1.1, 0.2.0-0.2.4, 0.3.0-0.3.13, 0.4.0-0.4.1, 0.5.0-0.5.1] or uninstalled\*\*  
\*\* ├─restricted to versions 0.0.0-\* by SPICE [c2290294], leaving only versions [0.0.1-0.0.8, 0.1.0-0.1.1, 0.2.0-0.2.4, 0.3.0-0.3.13, 0.4.0-0.4.1, 0.5.0-0.5.1]\*\*  
\*\* │ └─SPICE [c2290294] log:\*\*  
\*\* │ ├─possible versions are: 0.0.0 or uninstalled\*\*  
\*\* │ └─SPICE [c2290294] is fixed to version 0.0.0\*\*  
\*\* └─restricted by julia compatibility requirements to versions: uninstalled — no versions left\*\*

can anyone please help

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [January 15, 2019, 2:12pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/10 "2019-01-15T14:12:02Z")

</div>

SPICE doesn’t seem to be a registered package. How are you getting it? This error message makes it look like you are using a fixed `0.0.0` version of SPICE.

---

<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:** [January 15, 2019, 2:24pm UTC](https://discourse.julialang.org/t/problem-with-spice-package-installation/19633/11 "2019-01-15T14:24:51Z")

</div>

Please don’t open a duplicate thread of your own; [Problem with SPICE package installation](https://discourse.julialang.org/t/problem-with-package-installation/19633).
