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

Precompilation error: missing DataFrames dependency on MacBook Pro M1 #117

Open
duribebe opened this issue May 6, 2023 · 1 comment
Open

Comments

@duribebe
Copy link

duribebe commented May 6, 2023

Description

I encountered a precompilation error with VariantVisualization, indicating that it's missing the DataFrames dependency.

To Reproduce

  1. Install VariantVisualization using Pkg.add("VariantVisualization").
  2. Run Pkg.precompile("VariantVisualization")

Error message:
julia> Pkg.precompile("VariantVisualization")
Precompiling project...
✗ VariantVisualization
0 dependencies successfully precompiled in 1 seconds

ERROR: The following 1 direct dependency failed to precompile:

VariantVisualization [7f8bf45c-0ad5-53b5-97e6-33c1305e0aa4]

Failed to precompile VariantVisualization [7f8bf45c-0ad5-53b5-97e6-33c1305e0aa4] to /Users/danieluribe/.julia/compiled/v1.8/VariantVisualization/jl_hyQbjm.
ERROR: LoadError: ArgumentError: Package VariantVisualization does not have DataFrames in its dependencies:

  • You may have a partially installed environment. Try Pkg.instantiate()
    to ensure all packages in the environment are installed.
  • Or, if you have VariantVisualization checked out for development and have
    added DataFrames as a dependency but haven't updated your primary
    environment's manifest file, try Pkg.resolve().
  • Otherwise you may need to report an issue with VariantVisualization
    Stacktrace:
    [1] macro expansion
    @ ./loading.jl:1167 [inlined]
    [2] macro expansion
    @ ./lock.jl:223 [inlined]
    [3] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1144
    [4] include
    @ ./Base.jl:419 [inlined]
    [5] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
    @ Base ./loading.jl:1554
    [6] top-level scope
    @ stdin:1
    in expression starting at /Users/danieluribe/.julia/packages/VariantVisualization/8kTEj/src/VariantVisualization.jl:1
    in expression starting at stdin:1
    Stacktrace:
    [1] pkgerror(msg::String)
    @ Pkg.Types /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67
    [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{String}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Pkg.API /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1435
    [3] precompile
    @ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1072 [inlined]
    [4] #precompile#224
    @ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1070 [inlined]
    [5] precompile
    @ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1070 [inlined]
    [6] #precompile#223
    @ /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1069 [inlined]
    [7] precompile(pkg::String)
    @ Pkg.API /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Pkg/src/API.jl:1069
    [8] top-level scope
    @ REPL[29]:1
@GACGAMA
Copy link

GACGAMA commented Jul 16, 2024

I have the same problem on windows 11!
Any ideas?

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