Frequently failure with adding packages

For example, when I want to add the IJulia package on my Mac OS julia 0.5 version, it says:

julia> using IJulia
INFO: Precompiling module IJulia.
ERROR: LoadError: ZMQ not properly installed. Please run"ZMQ")
 in error(::String) at ./error.jl:21
 in _start() at /Applications/
while loading /Users/apple/.julia/v0.5/ZMQ/src/ZMQ.jl, in expression starting on line 26
ERROR: LoadError: Failed to precompile ZMQ to /Users/apple/.julia/lib/v0.5/ZMQ.ji.
 in compilecache(::String) at ./loading.jl:593
 in _start() at /Applications/
while loading /Users/apple/.julia/v0.5/IJulia/src/IJulia.jl, in expression starting on line 38
ERROR: Failed to precompile IJulia to /Users/apple/.julia/lib/v0.5/IJulia.ji.
 in compilecache(::String) at ./loading.jl:593
 in require(::Symbol) at ./loading.jl:422
 in require(::Symbol) at /Applications/

when I type"ZMQ"), it says:

INFO: Building Homebrew
Already up-to-date.
INFO: Building ZMQ
=================================[ ERROR: ZMQ ]=================================

LoadError: SystemError: unable to read directory /Users/apple/.julia/v0.5/Homebrew/deps/usr/Library/Taps/staticfloat/homebrew-juliatranslated: No such file or directory
while loading /Users/apple/.julia/v0.5/ZMQ/deps/build.jl, in expression starting on line 35


================================[ BUILD ERRORS ]================================

WARNING: ZMQ had build errors.

 - packages with build errors remain installed in /Users/apple/.julia/v0.5
 - build the package(s) and all dependencies with `"ZMQ")`
 - build a single package by running its `deps/build.jl` script


Building Cairo and other packages are quite similar. This is really a bad experience, and I don’t know what to do besides post it somewhere. Is there anyone who can tell me that why this happens? I don’t think it is the problem of my Mac OS computer, for things are similar on another windows.

It looks like you’re encountering

Do any of the suggestions from there help?

It did help. Thanks for that.
However, other packages which I added before didn’t seem to work. I am trying to build them one by one.

Running Julia 6.4 in Windows 10 - I fixed this running the Julia console as administrator