# Juno error: Error loading Atom.jl package

**URL:** <https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509>\
**Category:** General Usage\
**Tags:** juno\
**Created:** [March 7, 2017, 1:12am UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509 "2017-03-07T01:12:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilanggear](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ilanggear/32/862_2.png) [@ilanggear](https://discourse.julialang.org/u/ilanggear)\
**Post date:** [March 7, 2017, 1:12am UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509/1 "2017-03-07T01:12:05Z")

</div>

When I selected a few lines of code and then selected Julia → Run Block, I get the following error message: “Go to the Packages → Julia → Open Terminal menu and  
run `Pkg.update()`in Julia, then try again.  
If you still see an issue, please report it to…”

The first time I followed these instructions, I got error messages about not having accepted the xcode license (I’m using macBook Pro), with instructions to run  
“sudo xcodebuild -license”.  
I ran this in a separate terminal window, and typed ‘agree’ when it asked me to. But I still can’t run a block of code as described at the beginning. When I try, I still get the error suggesting to run Pkg.update(). However, now when I run that command, it says “INFO: No packages to install, update or remove”.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [March 7, 2017, 3:32am UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509/2 "2017-03-07T03:32:16Z")

</div>

Did you try::

```julia
using Atom

```

in a terminal window?

---

<div class="post-metadata">

**Author:** ![ilanggear](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ilanggear/32/862_2.png) [@ilanggear](https://discourse.julialang.org/u/ilanggear)\
**Post date:** [March 7, 2017, 5:57pm UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509/3 "2017-03-07T17:57:46Z")

</div>

When I try typing “using Atom” in a Julia terminal window, I get the following warnings and errors:

```julia
julia> using Atom
INFO: Precompiling module Atom...
WARNING: New definition 
    all(Any, Lazy.List) at 
ERROR: LoadError: LoadError: Unable to load 

lib (/Users/machine-name/.julia/v0.4/HttpParser/deps/usr/lib/libhttp_parser.dylib)

Please re-run Pkg.build(package), and restart Julia.
 in include at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
 in include_from_node1 at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
 in _start at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
while loading ....

```

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [March 7, 2017, 6:40pm UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509/4 "2017-03-07T18:40:49Z")

</div>

Looks like you have Julia 0.4 installed. I would try to upgrade to 0.5 or 0.5.1 .

---

<div class="post-metadata">

**Author:** ![ilanggear](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ilanggear/32/862_2.png) [@ilanggear](https://discourse.julialang.org/u/ilanggear)\
**Post date:** [March 7, 2017, 7:11pm UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509/5 "2017-03-07T19:11:21Z")

</div>

I’ve downloaded and installed JuliaPro, but when I type Julia at a terminal  
prompt, or Run Block as described in my first message, it is still using  
version 0.4 rather than 0.5. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [March 7, 2017, 9:51pm UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509/6 "2017-03-07T21:51:34Z")

</div>

Try to delete version 0.4. How did you install it?

---

<div class="post-metadata">

**Author:** ![tkelman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkelman/32/692_2.png) [@tkelman](https://discourse.julialang.org/u/tkelman)\
**Post date:** [March 7, 2017, 10:33pm UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509/7 "2017-03-07T22:33:49Z")

</div>

Deleting it might cause things to break even further. More likely you need to find the right setting in Juno to tell it to use your 0.5 rather than 0.4. Or adjust your paths so 0.5 comes earlier.

---

<div class="post-metadata">

**Author:** ![ilanggear](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ilanggear/32/862_2.png) [@ilanggear](https://discourse.julialang.org/u/ilanggear)\
**Post date:** [March 8, 2017, 1:14am UTC](https://discourse.julialang.org/t/juno-error-error-loading-atom-jl-package/2509/8 "2017-03-08T01:14:59Z")

</div>

Thanks for the tip! I changed the version of Julia pointed to by the result of `which julia` in a terminal, and also in Atom → Settings → Julia-client → Julia path, and now things are working. Hooray!
