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

Cannot install the package on my M1 laptop with macOS Ventura 13.2.1 #2

Open
julstpierre opened this issue Mar 8, 2023 · 1 comment

Comments

@julstpierre
Copy link

I am trying to install the package on my M1 personal laptop with macOS Ventura 13.2.1, and I keep getting the following errors :

ERROR: LoadError: Cannot locate artifact 'ADMIXTURE' for aarch64-apple-darwin-libgfortran5-cxx11-julia_version+1.8.5 in '/Users/julienst-pierre/.julia/packages/ADMIXTURE/XL2Kg/Artifacts.toml'
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] artifact_slash_lookup(name::String, artifact_dict::Dict{String, Any}, artifacts_toml::String, platform::Base.BinaryPlatforms.Platform)
@ Artifacts /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Artifacts/src/Artifacts.jl:609
[3] var"@artifact_str"(source::LineNumberNode, module::Module, name::Any, platform::Any)
@ Artifacts /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Artifacts/src/Artifacts.jl:679
[4] var"@artifact_str"(source::LineNumberNode, module::Module, name::Any)
@ Artifacts /Applications/Julia-1.8.app/Contents/Resources/julia/share/julia/stdlib/v1.8/Artifacts/src/Artifacts.jl:642
[5] include
@ ./Base.jl:419 [inlined]
[6] 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
[7] top-level scope
@ stdin:1
in expression starting at /Users/julienst-pierre/.julia/packages/ADMIXTURE/XL2Kg/src/ADMIXTURE.jl:9
in expression starting at /Users/julienst-pierre/.julia/packages/ADMIXTURE/XL2Kg/src/ADMIXTURE.jl:1
in expression starting at stdin:1

ERROR: Failed to precompile ADMIXTURE [354e233f-a9b1-4b8f-922c-9a29fc289231] to /Users/julienst-pierre/.julia/compiled/v1.8/ADMIXTURE/jl_W2ohS5.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base ./loading.jl:1707
[3] compilecache
@ ./loading.jl:1651 [inlined]
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1337
[5] _require_prelocked(uuidkey::Base.PkgId)
@ Base ./loading.jl:1200
[6] macro expansion
@ ./loading.jl:1180 [inlined]
[7] macro expansion
@ ./lock.jl:223 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1144

@Hua-Zhou
Copy link
Member

The reason is that Admixture was never compiled for Apple Silicon (M1/M2) before so the binary artifact does not exist. Our group will work on it.

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