Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia error when using IJulia #717

Closed
itfanr opened this issue Aug 24, 2018 · 5 comments
Closed

Julia error when using IJulia #717

itfanr opened this issue Aug 24, 2018 · 5 comments

Comments

@itfanr
Copy link

itfanr commented Aug 24, 2018

ubuntu 16.04
julia 1.0.0


ulia> Pkg.add("IJulia")
 Resolving package versions...
  Updating `~/.julia/environments/v1.0/Project.toml`
 [no changes]
  Updating `~/.julia/environments/v1.0/Manifest.toml`
 [no changes]

julia> using IJulia
[ Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]
ERROR: LoadError: Blosc not installed properly, run Pkg.build("ZMQ"), restart Julia and try again
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] top-level scope at /home/itfanr/.julia/packages/ZMQ/yClfT/src/ZMQ.jl:19
 [3] include at ./boot.jl:317 [inlined]
 [4] include_relative(::Module, ::String) at ./loading.jl:1038
 [5] include(::Module, ::String) at ./sysimg.jl:29
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:319 [inlined]
 [8] eval(::Expr) at ./client.jl:389
 [9] top-level scope at ./none:3
in expression starting at /home/itfanr/.julia/packages/ZMQ/yClfT/src/ZMQ.jl:18
ERROR: LoadError: Failed to precompile ZMQ [c2297ded-f4af-51ae-bb23-16f91089e4e1] to /home/itfanr/.julia/compiled/v1.0/ZMQ/CaaO6.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834
 [8] include at ./boot.jl:317 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1038
 [10] include(::Module, ::String) at ./sysimg.jl:29
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:319 [inlined]
 [13] eval(::Expr) at ./client.jl:389
 [14] top-level scope at ./none:3
in expression starting at /home/itfanr/.julia/packages/IJulia/iMVN2/src/IJulia.jl:38
ERROR: Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to /home/itfanr/.julia/compiled/v1.0/IJulia/nfu7T.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] macro expansion at ./logging.jl:313 [inlined]
 [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184
 [4] _require(::Base.PkgId) at ./logging.jl:311
 [5] require(::Base.PkgId) at ./loading.jl:852
 [6] macro expansion at ./logging.jl:311 [inlined]
 [7] require(::Module, ::Symbol) at ./loading.jl:834

@setempler
Copy link

Please first try to Pkg.build("ZMQ") as you can read in your post, which helped in #302.

On Ubuntu, check if you have zmq headers installed (apt-get install libzmq-dev), as proposed here: https://github.com/JuliaLang/IJulia.jl#manual-installation-of-ipython.

Then try Pkg.add("IJulia") again.

@stevengj
Copy link
Member

In any case, if there is an error installing Blosc, the issue should be filed ehre

@krinsman
Copy link

Having a similar problem -- this thread seems like it might help you: JuliaLang/julia#29720

@Vilin97
Copy link

Vilin97 commented Mar 21, 2019

Had a similar problem. Turning off Revise at start up fixed it.

@digin777
Copy link

Please first try to Pkg.build("ZMQ") as you can read in your post, which helped in #302.

On Ubuntu, check if you have zmq headers installed (apt-get install libzmq-dev), as proposed here: https://github.com/JuliaLang/IJulia.jl#manual-installation-of-ipython.

Then try Pkg.add("IJulia") again.

what about windows users?
I am windows 7 user how could to solve this problem for windows users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants