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

WARNING: Module Compat uuid did not match cache file #270

Closed
zoulingnan opened this issue Aug 16, 2016 · 2 comments
Closed

WARNING: Module Compat uuid did not match cache file #270

zoulingnan opened this issue Aug 16, 2016 · 2 comments

Comments

@zoulingnan
Copy link

Received the error message "WARNING: Module Compat uuid did not match cache file
" when attempting to load the Optim.jl package. See full error message below. Running Julia v4.5 and IJulia notebook.

using Optim

INFO: Recompiling stale cache file /Users/zoulingnan/.julia/lib/v0.4/Calculus.ji for module Calculus.
WARNING: Module Compat uuid did not match cache file
This is likely because module Compat does not support precompilation but is imported by a module that does.
WARNING: deserialization checks failed while attempting to load cache from /Users/zoulingnan/.julia/lib/v0.4/Calculus.ji
INFO: Precompiling module Calculus...
INFO: Recompiling stale cache file /Users/zoulingnan/.julia/lib/v0.4/Calculus.ji for module Calculus.
WARNING: Module Compat uuid did not match cache file
This is likely because module Compat does not support precompilation but is imported by a module that does.
LoadError: precompile(true) but require failed to create a precompiled cache file
while loading In[30], in expression starting on line 1

in require at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
in stale_cachefile at loading.jl:457
in recompile_stale at loading.jl:474
in _require_from_serialized at loading.jl:83
in _require_from_serialized at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
in require at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
in stale_cachefile at loading.jl:457
in recompile_stale at loading.jl:474
in _require_from_serialized at loading.jl:83
in _require_from_serialized at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
in require at loading.jl:235
[inlined code] from /Users/zoulingnan/.julia/v0.4/Requires/src/require.jl:11
in require at /Users/zoulingnan/.julia/v0.4/Requires/src/hook.jl:17

@yuyichao
Copy link
Contributor

Not a Compat issue. Should at least be gone if you try again.

@stevengj
Copy link
Member

See JuliaLang/julia#12508

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

3 participants