ADD IJulia installation: Julia 1.1 failed, 1.0.3 works

question

#1

I tried adding Blosc and ZMQ manually (both “works meaning error-free”) but same error as below:

_
_ _ ( )_ | Documentation: https://docs.julialang.org
( ) | ( ) ( ) |
_ _ | | __ _ | Type “?” for help, “]?” for Pkg help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 1.1.0 (2019-01-21)
/ |_| | |_ '_| | Official https://julialang.org/ release
|__/ |

(v1.1) pkg> add IJulia
Updating registry at C:\Users\John\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions…
Updating C:\Users\John\.julia\environments\v1.1\Project.toml
[no changes]
Updating C:\Users\John\.julia\environments\v1.1\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 C:\Users\John.julia\packages\ZMQ\ABGOx\src\ZMQ.jl:14
[3] include at .\boot.jl:326 [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:328 [inlined]
[8] eval(::Expr) at .\client.jl:404
[9] top-level scope at .\none:3
in expression starting at C:\Users\John.julia\packages\ZMQ\ABGOx\src\ZMQ.jl:13
ERROR: LoadError: Failed to precompile ZMQ [c2297ded-f4af-51ae-bb23-16f91089e4e1] to C:\Users\John.julia\compiled\v1.1\ZMQ\CaaO6.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
[6] include at .\boot.jl:326 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1038
[8] include(::Module, ::String) at .\sysimg.jl:29
[9] top-level scope at none:2
[10] eval at .\boot.jl:328 [inlined]
[11] eval(::Expr) at .\client.jl:404
[12] top-level scope at .\none:3
in expression starting at C:\Users\John.julia\packages\IJulia\fjEtl\src\IJulia.jl:36
ERROR: Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to C:\Users\John.julia\compiled\v1.1\IJulia\nfu7T.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853

julia>


#2

Perhaps install it then.


#3

Also, please quote your code (you can edit your post):


#4

As shown below, upon adding Blosc, it apparently stops & drops into ZSH showing the name of my PC followed by a “#” sign
If I do it again after exiting ZSH, it would “work meaning no error”
and “add IJulia” again shows no error,
however “using IJulia” would end up with the same error of “Blosc not installed properly…”

| | || | | | (| | | Version 1.1.0 (2019-01-21)
/ |_|||_’_| | Official https://julialang.org/ release
|__/ |

(v1.1) pkg> add Blosc
Updating registry at C:\Users\John\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions…
Installed MbedTLS Ä v0.6.7
Updating C:\Users\John\.julia\environments\v1.1\Project.toml
[no changes]
Updating C:\Users\John\.julia\environments\v1.1\Manifest.toml
[739be429] MbedTLS v0.6.6 ? v0.6.7
Building MbedTLS C:\Users\John\.julia\packages\MbedTLS\XkQiX\deps\build.log
ZEN8# eexit

(v1.1) pkg> add Blosc
Resolving package versions…
Updating C:\Users\John\.julia\environments\v1.1\Project.toml
[no changes]
Updating C:\Users\John\.julia\environments\v1.1\Manifest.toml
[no changes]

(v1.1) pkg> add IJulia
Resolving package versions…
Updating C:\Users\John\.julia\environments\v1.1\Project.toml
[no changes]
Updating C:\Users\John\.julia\environments\v1.1\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 C:\Users\John.julia\packages\ZMQ\ABGOx\src\ZMQ.jl:14
[3] include at .\boot.jl:326 [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:328 [inlined]
[8] eval(::Expr) at .\client.jl:404
[9] top-level scope at .\none:3
in expression starting at C:\Users\John.julia\packages\ZMQ\ABGOx\src\ZMQ.jl:13
ERROR: LoadError: Failed to precompile ZMQ [c2297ded-f4af-51ae-bb23-16f91089e4e1] to C:\Users\John.julia\compiled\v1.1\ZMQ\CaaO6.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853
[6] include at .\boot.jl:326 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1038
[8] include(::Module, ::String) at .\sysimg.jl:29
[9] top-level scope at none:2
[10] eval at .\boot.jl:328 [inlined]
[11] eval(::Expr) at .\client.jl:404
[12] top-level scope at .\none:3
in expression starting at C:\Users\John.julia\packages\IJulia\fjEtl\src\IJulia.jl:36
ERROR: Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to C:\Users\John.julia\compiled\v1.1\IJulia\nfu7T.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1197
[3] _require(::Base.PkgId) at .\loading.jl:960
[4] require(::Base.PkgId) at .\loading.jl:858
[5] require(::Module, ::Symbol) at .\loading.jl:853


#5

the build log may contain information about the error:


#6

This is content of the log file below:

â"O Warning: platform_key() is deprecated, use platform_key_abi() from now on
â", caller = ip:0x0
â"" @ Core :-1
[ Info: Downloading https://github.com/JuliaWeb/MbedTLSBuilder/releases/download/v0.17.0/MbedTLS.v2.16.0.x86_64-w64-mingw32.tar.gz to C:\Users\John.j
ulia\packages\MbedTLS\XkQiX\deps\usr\downloads\MbedTLS.v2.16.0.x86_64-w64-mingw32.tar.gz…
[ Info: using prebuilt binaries


#7

I started from scratch (uninstall 1.1 then re-download v1.1 Julia then install), below is relevant screen capture & log files
Please advise
------------------------------------ console
[4ec0a83e] + Unicode
Building Conda ÄÄ C:\Users\John\.julia\packages\Conda\CpuvI\deps\build.log
Building ZMQ ÄÄÄÄ C:\Users\John\.julia\packages\ZMQ\ABGOx\deps\build.log
ZEN8# eexit
Building MbedTLS ? C:\Users\John\.julia\packages\MbedTLS\XkQiX\deps\build.log
ZEN8# eexit
Building IJulia -? C:\Users\John\.julia\packages\IJulia\fjEtl\deps\build.log
------------------------------------ C:\Users\John.julia\packages\IJulia\fjEtl\deps\build.log
WARNING: eval into closed module Base:
Expr(:block, #= Symbol(“C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl”):1891 =#, Expr(:call, :range, Expr(:parameters, Expr(:…, :kwargs)), :start, :stop) = Expr(:block, #= Symbol(“C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl”):1891 =#, Expr(:call, :range, Expr(:parameters, Expr(:kw, :stop, :stop), Expr(:…, :kwargs)), :start)))
** incremental compilation may be broken for this module **

WARNING: Method definition range(Any, Any) in module Base at range.jl:90 overwritten at C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl:1891.
WARNING: Method definition #range(Any, typeof(Base.range), Any, Any) in module Base overwritten.
WARNING: eval into closed module Base:
Expr(:block, #= Symbol(“C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl”):1891 =#, Expr(:call, :range, Expr(:parameters, Expr(:…, :kwargs)), :start, :stop) = Expr(:block, #= Symbol(“C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl”):1891 =#, Expr(:call, :range, Expr(:parameters, Expr(:kw, :stop, :stop), Expr(:…, :kwargs)), :start)))
** incremental compilation may be broken for this module **

WARNING: Method definition range(Any, Any) in module Base at range.jl:90 overwritten at C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl:1891.
WARNING: Method definition #range(Any, typeof(Base.range), Any, Any) in module Base overwritten.
[ Info: Installing Julia kernelspec in C:\Users\John\AppData\Roaming\jupyter\kernels\julia-1.1
------------------------------------MbedTLS
WARNING: eval into closed module Base:
Expr(:block, #= Symbol(“C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl”):1891 =#, Expr(:call, :range, Expr(:parameters, Expr(:…, :kwargs)), :start, :stop) = Expr(:block, #= Symbol(“C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl”):1891 =#, Expr(:call, :range, Expr(:parameters, Expr(:kw, :stop, :stop), Expr(:…, :kwargs)), :start)))
** incremental compilation may be broken for this module **

WARNING: Method definition range(Any, Any) in module Base at range.jl:90 overwritten at C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl:1891.
WARNING: Method definition #range(Any, typeof(Base.range), Any, Any) in module Base overwritten.
WARNING: eval into closed module Base:
Expr(:block, #= Symbol(“C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl”):1891 =#, Expr(:call, :range, Expr(:parameters, Expr(:…, :kwargs)), :start, :stop) = Expr(:block, #= Symbol(“C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl”):1891 =#, Expr(:call, :range, Expr(:parameters, Expr(:kw, :stop, :stop), Expr(:…, :kwargs)), :start)))
** incremental compilation may be broken for this module **

WARNING: Method definition range(Any, Any) in module Base at range.jl:90 overwritten at C:\Users\John.julia\packages\Compat\hsya0\src\Compat.jl:1891.
WARNING: Method definition #range(Any, typeof(Base.range), Any, Any) in module Base overwritten.
[ Info: Installing Julia kernelspec in C:\Users\John\AppData\Roaming\jupyter\kernels\julia-1.1
------------------------------------ZMQ
┌ Warning: platform_key() is deprecated, use platform_key_abi() from now on
│ caller = ip:0x0
└ @ Core :-1
┌ Warning: Could not extract the platform key of https://github.com/JuliaInterop/ZMQBuilder/releases/download/v4.2.5+6/ZMQ.x86_64-w64-mingw32.tar.gz; continuing…
└ @ BinaryProvider C:\Users\John.julia\packages\BinaryProvider\4F5Hq\src\Prefix.jl:185
[ Info: Downloading https://github.com/JuliaInterop/ZMQBuilder/releases/download/v4.2.5+6/ZMQ.x86_64-w64-mingw32.tar.gz to C:\Users\John.julia\packages\ZMQ\ABGOx\deps\usr\downloads\ZMQ.x86_64-w64-mingw32.tar.gz…
------------------------------------Conda
empty!


#8

To test the hypothesis that Julia 1.1 & IJulia don’t work, I uninstalled 1.1 & installed 1.0.3 & notebook() works now (as of 01/29/2019/TUE/9:50pm/ET)