Attempted to use inside JuliaNB, got errors
Closed this issue · 2 comments
EMCP commented
On my first attempt to start using WAV
, getting an series of errors when utilized within JuliaNB
Code in notebook
# Add package to read audio files
Pkg.add("WAV")
using WAV
Output
INFO: Package WAV is already installed
INFO: Precompiling module WAV.
WARNING: Module Compat with uuid 22742543754153 is missing from the cache.
This may mean module Compat does not support precompilation but is imported by a module that does.
ERROR: LoadError: Declaring __precompile__(false) is not allowed in files that are being precompiled.
Stacktrace:
[1] _require(::Symbol) at ./loading.jl:455
[2] require(::Symbol) at ./loading.jl:405
[3] include_from_node1(::String) at ./loading.jl:576
[4] include(::String) at ./sysimg.jl:14
[5] anonymous at ./<missing>:2
while loading /Users/emcp/.julia/v0.6/FileIO/src/FileIO.jl, in expression starting on line 5
ERROR: LoadError: Failed to precompile FileIO to /Users/emcp/.julia/lib/v0.6/FileIO.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./<missing>:2
while loading /Users/emcp/.julia/v0.6/WAV/src/WAV.jl, in expression starting on line 8
Failed to precompile WAV to /Users/emcp/.julia/lib/v0.6/WAV.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:497
[3] require(::Symbol) at ./loading.jl:405
[4] include_string(::String, ::String) at ./loading.jl:522```
dancasimiro commented
What is JuliaNB?
EMCP commented
iJulia notebook kernel inside Jupyter Notebook, it turns out you cannot update the packages while leaving a notebook open.. and you need to close down the notebook and reopen.