Closed AshtonSBradley closed 3 years ago
Trying julia 1.6, I get an issue with the project.toml
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.6.1 (2021-04-23)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using CurricularAnalytics
[ Info: Precompiling CurricularAnalytics [593ffa3d-269e-5d81-88bc-c3b6809c35a6]
ERROR: LoadError: ArgumentError: Package CurricularAnalytics does not have LightGraphs in its dependencies:
- If you have CurricularAnalytics checked out for development and have
added LightGraphs 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 CurricularAnalytics
Stacktrace:
[1] require(into::Module, mod::Symbol)
@ Base ./loading.jl:884
[2] include
@ ./Base.jl:386 [inlined]
[3] 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:1213
[4] top-level scope
@ none:1
[5] eval
@ ./boot.jl:360 [inlined]
[6] eval(x::Expr)
@ Base.MainInclude ./client.jl:446
[7] top-level scope
@ none:1
in expression starting at /Users/abradley/.julia/packages/CurricularAnalytics/526jF/src/CurricularAnalytics.jl:1
ERROR: Failed to precompile CurricularAnalytics [593ffa3d-269e-5d81-88bc-c3b6809c35a6] to /Users/abradley/.julia/compiled/v1.6/CurricularAnalytics/jl_1EPaqi.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
@ Base ./loading.jl:1360
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1306
[4] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1021
[5] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:914
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:901
With Julia 1.5:
Downloading artifact: libsodium
ERROR: ArgumentError: Unsupported architecture 'aarch64' for macOS
Are you using a mac with an M1 chip? I suspect the issue is related to a dependency not supporting the architecture for that chip. I took a quick look and apparently Julia 1.5.2 is immune to that error? It might rely on us updating the deps using 1.5.2 though. See https://discourse.julialang.org/t/unsupported-architecture/48786
For the second error I'm not so sure what is going on. LightGraphs is in the deps: https://github.com/CurricularAnalytics/CurricularAnalytics.jl/blob/a46afde1bfad3c5cf57c945a963fe012ca4b52c6/Project.toml#L12
Did you try removing the package and adding it fresh as you swapped versions? I can't recall if julia scopes your local packages by version.
Intel chip
each julia version has its own environment, so packages are separate for different julia verions
ok, I think there is something corrupted on my desktop. Install goes fine on my laptop with 1.5.3. Closing
Looks like one of the dependencies has a problem