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

ERROR: LoadError: UndefVarError: Printf not defined #285

Closed
PyDataBlog opened this issue May 31, 2020 · 2 comments
Closed

ERROR: LoadError: UndefVarError: Printf not defined #285

PyDataBlog opened this issue May 31, 2020 · 2 comments

Comments

@PyDataBlog
Copy link

I try to test the package on a Mac system on Julia 1.4 but it seems to failing when I try to import.

Here's the stack info:

[ Info: Precompiling ODBC [be6f12e9-ca4f-5eb2-a339-a4f995cc0291]
ERROR: LoadError: UndefVarError: Printf not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at ./Base.jl:26
 [2] top-level scope at /Users/../.julia/packages/DecFP/3jJW7/src/DecFP.jl:294
 [3] eval(::Module, ::Any) at ./boot.jl:331
 [4] top-level scope at /Users/../.julia/packages/DecFP/3jJW7/src/DecFP.jl:222
 [5] include(::Module, ::String) at ./Base.jl:377
 [6] top-level scope at none:2
 [7] eval at ./boot.jl:331 [inlined]
 [8] eval(::Expr) at ./client.jl:449
 [9] top-level scope at ./none:3
in expression starting at /Users/../.julia/packages/DecFP/3jJW7/src/DecFP.jl:207
ERROR: LoadError: Failed to precompile DecFP [55939f99-70c6-5e9b-8bb0-5071ed7d61fd] to /Users/mysterio/.julia/compiled/v1.4/DecFP/QmCKT_uEHK4.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
 [6] include(::Module, ::String) at ./Base.jl:377
 [7] top-level scope at none:2
 [8] eval at ./boot.jl:331 [inlined]
 [9] eval(::Expr) at ./client.jl:449
 [10] top-level scope at ./none:3
in expression starting at /Users/../.julia/packages/ODBC/mRJax/src/ODBC.jl:3
ERROR: Failed to precompile ODBC [be6f12e9-ca4f-5eb2-a339-a4f995cc0291] to /Users/mysterio/.julia/compiled/v1.4/ODBC/ZHXi3_uEHK4.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922
@quinnj
Copy link
Member

quinnj commented May 31, 2020

It seems you’ve got a version mismatch somewhere; this error happens when your DecFP package is too old. ODBC.jl 1.0 requires DecFP 0.4.10. To fix you might have to try ] up DecFP

@PyDataBlog
Copy link
Author

It seems you’ve got a version mismatch somewhere; this error happens when your DecFP package is too old. ODBC.jl 1.0 requires DecFP 0.4.10. To fix you might have to try `] up DecFP

I had to install ] add DecFP@0.4.10 before being able to install and pre-compile the package.

@quinnj quinnj closed this as completed May 31, 2020
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

2 participants