# Pkg.add() Giterror

**URL:** <https://discourse.julialang.org/t/pkg-add-giterror/6354>\
**Category:** New to Julia\
**Tags:** question, package, pyplot\
**Created:** [October 9, 2017, 5:04pm UTC](https://discourse.julialang.org/t/pkg-add-giterror/6354 "2017-10-09T17:04:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandas-get-good](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pandas-get-good/32/2132_2.png) [@pandas-get-good](https://discourse.julialang.org/u/pandas-get-good)\
**Post date:** [October 9, 2017, 5:04pm UTC](https://discourse.julialang.org/t/pkg-add-giterror/6354/1 "2017-10-09T17:04:24Z")

</div>

I am getting an unusual error when I run

Pkg.add(“PyPlot”)

GitError(Code:ENOTFOUND, Class:Odb, Object not found - no match for id (27ede1ea7314214742b9fbd1d668a51e7306c608))

Stacktrace:  
[1] macro expansion at ./libgit2/error.jl:99 [inlined]  
[2] Base.LibGit2.GitTree(::Base.LibGit2.GitRepo, ::String) at ./libgit2/repository.jl:116  
[3] #isdiff#76(::Bool, ::Function, ::Base.LibGit2.GitRepo, ::String, ::String) at ./libgit2/libgit2.jl:147  
[4] (::Base.Pkg.Entry.##2#4)(::Base.LibGit2.GitRepo) at ./pkg/entry.jl:59  
[5] with(::Base.Pkg.Entry.##2#4, ::Base.LibGit2.GitRepo) at ./libgit2/types.jl:608  
[6] macro expansion at ./pkg/entry.jl:57 [inlined]  
[7] macro expansion at ./task.jl:302 [inlined]  
[8] add(::String, ::Base.Pkg.Types.VersionSet) at ./pkg/entry.jl:51  
[9] (::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}})() at ./pkg/dir.jl:36  
[10] cd(::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}}, ::String) at ./file.jl:70  
[11] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{String,N} where N) at ./pkg/dir.jl:36  
[12] add(::String) at ./pkg/pkg.jl:117  
[13] include\_string(::String, ::String) at ./loading.jl:515

I have set up SSH key and linked it with my github account. However the problem still continues. Any help would be appreciated. I also have matplotlib install, I use python on a regular basis.

julia\> versioninfo()  
Julia Version 0.6.0  
Commit 9036443 (2017-06-19 13:05 UTC)  
Platform Info:  
OS: Linux (x86\_64-pc-linux-gnu)  
CPU: Intel(R) Core™ i7-6500U CPU @ 2.50GHz  
WORD\_SIZE: 64  
BLAS: libopenblas (USE64BITINT DYNAMIC\_ARCH NO\_AFFINITY Haswell)  
LAPACK: libopenblas64\_  
LIBM: libopenlibm  
LLVM: libLLVM-3.9.1 (ORCJIT, skylake)

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [October 9, 2017, 6:12pm UTC](https://discourse.julialang.org/t/pkg-add-giterror/6354/2 "2017-10-09T18:12:22Z")

</div>

> [@pandas-get-good](#):
>
> Pkg.add(“PyPloy”)

You mean `Pkg.add("PyPlot")`?

---

<div class="post-metadata">

**Author:** ![pandas-get-good](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pandas-get-good/32/2132_2.png) [@pandas-get-good](https://discourse.julialang.org/u/pandas-get-good)\
**Post date:** [October 9, 2017, 6:22pm UTC](https://discourse.julialang.org/t/pkg-add-giterror/6354/3 "2017-10-09T18:22:52Z")

</div>

It was a typo, thanks.

---

<div class="post-metadata">

**Author:** ![pandas-get-good](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pandas-get-good/32/2132_2.png) [@pandas-get-good](https://discourse.julialang.org/u/pandas-get-good)\
**Post date:** [October 9, 2017, 7:50pm UTC](https://discourse.julialang.org/t/pkg-add-giterror/6354/4 "2017-10-09T19:50:46Z")

</div>

I think I figured out what the problem was. I currently have anaconda installed with python, matplotlib, and jupyter notebook. I created a new Ubuntu environment without any of that installed, I was able to use the same Pkg.add(“PyPlot”) without any problems.
