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

Unable to install on macOS 13.5.1 #29

Closed
trevorhardy opened this issue Sep 13, 2023 · 20 comments · May be fixed by #30
Closed

Unable to install on macOS 13.5.1 #29

trevorhardy opened this issue Sep 13, 2023 · 20 comments · May be fixed by #30
Assignees
Labels
bug Something isn't working

Comments

@trevorhardy
Copy link
Contributor

I'm getting the following errors:

os: macOS 13.5.1
architecture: arm64

julia> Pkg.add("HELICS")
   Resolving package versions...
   Installed HELICS ─ v0.2.2
    Updating `~/.julia/environments/v1.9/Project.toml`
⌃ [81524022] + HELICS v0.2.2
    Updating `~/.julia/environments/v1.9/Manifest.toml`
⌃ [81524022] + HELICS v0.2.2
        Info Packages marked with ⌃ have new versions available and may be upgradable.
    Building HELICS → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/e1a9ae71f4d5e297f427eb925c1f6915e34dfc2d/build.log`
Precompiling project...
  ✗ HELICS
  0 dependencies successfully precompiled in 2 seconds. 103 already precompiled.
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package

Following that up as suggested in the error message:

julia> import Pkg; Pkg.precompile("HELICS")
Precompiling HELICS
  ✗ HELICS
  0 dependencies successfully precompiled in 1 seconds

ERROR: The following 1 direct dependency failed to precompile:

HELICS [81524022-8764-5038-b61c-08cb1f58760f]

Failed to precompile HELICS [81524022-8764-5038-b61c-08cb1f58760f] to "/Users/hard312/.julia/compiled/v1.9/HELICS/jl_Pka6bW".
ERROR: LoadError: ArgumentError: Package HELICS does not have DocStringExtensions 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 HELICS checked out for development and have
  added DocStringExtensions 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 HELICS
Stacktrace:
 [1] macro expansion
   @ ./loading.jl:1634 [inlined]
 [2] macro expansion
   @ ./lock.jl:267 [inlined]
 [3] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1611
 [4] include(mod::Module, _path::String)
   @ Base ./Base.jl:457
 [5] include(x::String)
   @ HELICS ~/.julia/packages/HELICS/6r0yX/src/HELICS.jl:1
 [6] top-level scope
   @ ~/.julia/packages/HELICS/6r0yX/src/HELICS.jl:28
 [7] include
   @ ./Base.jl:457 [inlined]
 [8] 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, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2049
 [9] top-level scope
   @ stdin:3
in expression starting at /Users/hard312/.julia/packages/HELICS/6r0yX/src/api.jl:2
in expression starting at /Users/hard312/.julia/packages/HELICS/6r0yX/src/HELICS.jl:1
in expression starting at stdin:3
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/Types.jl:69
 [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
   @ Pkg.API /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:1581
 [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Pkg.API /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:156
 [4] precompile(pkgs::Vector{Pkg.Types.PackageSpec})
   @ Pkg.API /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:145
 [5] #precompile#115
   @ /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:144 [inlined]
 [6] precompile
   @ /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:144 [inlined]
 [7] #precompile#114
   @ /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:143 [inlined]
 [8] precompile(pkg::String)
   @ Pkg.API /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:143
 [9] top-level scope
   @ REPL[6]:1

And because there's not enough text in this bug, I followed the error message instructions again:

julia> Pkg.instantiate("HELICS")
ERROR: MethodError: no method matching instantiate(::String)

Closest candidates are:
  instantiate(; kwargs...)
   @ Pkg /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:1652
  instantiate(::Pkg.Types.Context; manifest, update_registry, verbose, platform, allow_build, allow_autoprecomp, kwargs...)
   @ Pkg /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/Pkg/src/API.jl:1653

Stacktrace:
 [1] top-level scope
   @ REPL[7]:1
@kdheepak
Copy link
Contributor

There's a few issues here.

julia> Pkg.add("HELICS")
   Resolving package versions...
   Installed HELICS ─ v0.2.2
    Updating `~/.julia/environments/v1.9/Project.toml`
⌃ [81524022] + HELICS v0.2.2
    Updating `~/.julia/environments/v1.9/Manifest.toml`
⌃ [81524022] + HELICS v0.2.2

That's a pretty old version of HELICS. The latest versions are v3.4.0. Maybe try Pkg.update()?

  1. There's a Manifest.toml file in the repo that contains an old version of the HELICS_jll.
(HELICS) pkg> st
Project HELICS v3.4.0
Status `~/gitrepos/HELICS.jl/Project.toml`
⌅ [fa961155] CEnum v0.2.0
⌃ [ffbed154] DocStringExtensions v0.8.4
⌃ [ef3b0bb0] HELICS_jll v2.7.0+0
  [8f399da3] Libdl
Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated`

This shouldn't affect installations but if someone is cloning from source and trying to instantiate they will get errors.
I made a pull request to fix this.

  1. You can't use Pkg.instantiate("HELICS"), i.e. Pkg.instantiate() takes no arguments. You shouldn't even need to call Pkg.instantiate(). You probably have other packages in your root Julia environment that is causing an older version of HELICS to be installed which is causing problems. Can you run Pkg.status() and share the result here so we can figure out what is going on?

@trevorhardy
Copy link
Contributor Author

julia> Pkg.status()
Status `~/.julia/environments/v1.9/Project.toml`
  [46ada45e] Agents v5.17.1
⌃ [81524022] HELICS v0.2.2
Info Packages marked with ⌃ have new versions available and may be upgradable.

@kdheepak
Copy link
Contributor

Can you try Pkg.update()?

@trevorhardy
Copy link
Contributor Author

julia> Pkg.update()
    Updating registry at `~/.julia/registries/General.toml`
   Installed HELICS_jll ────────── v3.4.0+0
   Installed libsodium_jll ─────── v1.0.20+0
   Installed ZeroMQ_jll ────────── v4.3.4+0
   Installed CEnum ─────────────── v0.2.0
   Installed DocStringExtensions ─ v0.8.6
   Installed HELICS ────────────── v3.4.0
  Downloaded artifact: libsodium
  Downloaded artifact: HELICS
  Downloaded artifact: ZeroMQ
    Updating `~/.julia/environments/v1.9/Project.toml`
  [81524022] ↑ HELICS v0.2.2 ⇒ v3.4.0
    Updating `~/.julia/environments/v1.9/Manifest.toml`
⌅ [fa961155] + CEnum v0.2.0
⌅ [ffbed154] ↓ DocStringExtensions v0.9.3 ⇒ v0.8.6
  [81524022] ↑ HELICS v0.2.2 ⇒ v3.4.0
  [ef3b0bb0] + HELICS_jll v3.4.0+0
  [8f1865be] + ZeroMQ_jll v4.3.4+0
  [a9144af2] + libsodium_jll v1.0.20+0
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  14 dependencies successfully precompiled in 16 seconds. 94 already precompiled.
  1 dependency had warnings during precompilation:
┌ HELICS [81524022-8764-5038-b61c-08cb1f58760f]
│  WARNING: using Utils.HELICS_ERROR_INVALID_OBJECT in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_INVALID_ARGUMENT in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_OTHER in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_FATAL in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_TERMINATED in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_DISCARD in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_INVALID_STATE_TRANSITION in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_USER_ABORT in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_SYSTEM_FAILURE in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_OK in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_INSUFFICIENT_SPACE in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_EXTERNAL_TYPE in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_EXECUTION_FAILURE in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_CONNECTION_FAILURE in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_INVALID_FUNCTION_CALL in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_WARNING in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_ERROR_REGISTRATION_FAILURE in module HELICS conflicts with an existing identifier.
│  WARNING: using Utils.HELICS_USER_EXCEPTION in module HELICS conflicts with an existing identifier.
└  
[ Info: We haven't cleaned this depot up for a bit, running Pkg.gc()...
      Active manifest files: 2 found
      Active artifact files: 9 found
      Active scratchspaces: 1 found
     Deleted no artifacts, repos, packages or scratchspaces

@kdheepak
Copy link
Contributor

That should have resolved it for now. You can try using HELICS and it should work.

@trevorhardy
Copy link
Contributor Author

No error so I guess we're good. Any idea why this failed on a virtually clean install? I had only installed "Agents" prior to trying to install HELICS.

@kdheepak
Copy link
Contributor

Yeah, it’s odd that that happened and I’m surprised it did that. I can ask people more knowledgeable than I about this and get back to you.

@mkitti
Copy link

mkitti commented Sep 13, 2023

Can we get a pkg> st -m output?

@mkitti
Copy link

mkitti commented Sep 13, 2023

It would probably be good to also do a

pkg"activate --temp"
pkg"add HELICS"

@kdheepak
Copy link
Contributor

kdheepak commented Sep 13, 2023

( Thanks for chiming in @mkitti! )

Can we get a pkg> st -m output?

@trevorhardy to do this, you'll have to hit the ] (i.e. the right square bracket key) after you open a Julia REPL. That'll enter the package manager REPL mode and then you can type st -m and hit Enter. You can press and hold backspace to exit the package manager REPL mode.

pkg"activate --temp"
pkg"add HELICS"

You can run these either in the package manager mode like above without the pkg" prefix and " suffix, i.e.

pkg> activate --temp
pkg> add HELICS

OR

in the Julia REPL directly after running using Pkg:

julia> using Pkg
julia> pkg"activate --temp"
julia> pkg"add HELICS"

@kdheepak
Copy link
Contributor

@trevorhardy can you also share the output of InteractiveUtils.versioninfo()? It is a built in standard library package, so you won't need to install anything. Here's the output from my machine:

julia> using InteractiveUtils

julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 8 × 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, tigerlake)
  Threads: 1 on 8 virtual cores
Environment:        
  JULIA_PROJECT = @.

Also, I'm assuming you haven't used any additional flags when starting Julia or set any Julia specific environment variables. If you have, it might be useful to mention those as well in a follow up message.

@trevorhardy
Copy link
Contributor Author

Here the st-m:

(@v1.9) pkg> st -m
Status `~/.julia/environments/v1.9/Manifest.toml`
  [46ada45e] Agents v5.17.1
  [ec485272] ArnoldiMethod v0.2.0
⌅ [1dc0ca97] ArrayTools v0.2.7
  [d1d4a3ce] BitFlags v0.1.7
⌅ [fa961155] CEnum v0.2.0
  [336ed68f] CSV v0.10.11
  [49dc2e85] Calculus v0.5.1
  [944b1d66] CodecZlib v0.7.2
  [38540f10] CommonSolve v0.2.4
  [34da2185] Compat v4.9.0
  [f0e56b4a] ConcurrentUtilities v2.2.1
  [a8cc5b0e] Crayons v4.1.1
  [9a962f9c] DataAPI v1.15.0
  [a93c6f00] DataFrames v1.6.1
  [864edb3b] DataStructures v0.18.15
  [e2d170a0] DataValueInterfaces v1.0.0
  [b4f34e82] Distances v0.10.9
  [31c24e10] Distributions v0.25.100
⌅ [ffbed154] DocStringExtensions v0.8.6
  [fa6b7ba4] DualNumbers v0.6.8
  [460bff9d] ExceptionUnwrapping v0.1.9
  [5789e2e9] FileIO v1.16.1
  [48062228] FilePathsBase v0.9.20
  [1a297f60] FillArrays v1.6.1
  [86223c79] Graphs v1.8.0
  [81524022] HELICS v3.4.0
  [cd3eb016] HTTP v1.9.15
  [34004b35] HypergeometricFunctions v0.3.23
  [d25df0c9] Inflate v0.1.3
  [842dd82b] InlineStrings v1.4.0
  [41ab1584] InvertedIndices v1.3.0
  [92d709cd] IrrationalConstants v0.2.2
  [82899510] IteratorInterfaceExtensions v1.0.0
  [033835bb] JLD2 v0.4.33
  [692b3bcd] JLLWrappers v1.5.0
  [682c06a0] JSON v0.21.4
  [b964fa9f] LaTeXStrings v1.3.0
  [d1922b25] LightOSM v0.2.11
  [9c8b4983] LightXML v0.9.0
  [2ab3a3ac] LogExpFunctions v0.3.26
  [e6f89c97] LoggingExtras v1.0.2
  [1914dd2f] MacroTools v0.5.11
  [739be429] MbedTLS v1.1.7
  [626554b9] MetaGraphs v0.7.2
  [e1d29d7a] Missings v1.1.0
  [77ba4419] NaNMath v1.0.2
  [b8a86587] NearestNeighbors v0.4.13
  [4d8831e6] OpenSSL v1.4.1
  [bac558e1] OrderedCollections v1.6.2
  [90014a1f] PDMats v0.11.17
  [d96e819e] Parameters v0.12.3
  [69de0a69] Parsers v2.7.2
  [2dfb63ee] PooledArrays v1.4.2
  [aea7be01] PrecompileTools v1.2.0
  [21216c6a] Preferences v1.4.0
  [08abe8d2] PrettyTables v2.2.7
  [92933f4c] ProgressMeter v1.9.0
  [1fd47b50] QuadGK v2.8.2
  [94ee1d12] Quaternions v0.7.4
⌅ [30b38841] QuickHeaps v0.1.2
  [c1ae055f] RealDot v0.1.0
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.0
  [79098fc4] Rmath v0.7.1
  [6038ab10] Rotations v1.5.1
  [6c6a2e73] Scratch v1.2.0
  [91c51154] SentinelArrays v1.4.0
  [777ac1f9] SimpleBufferStream v1.1.0
  [699a6c99] SimpleTraits v0.9.4
  [47aef6b3] SimpleWeightedGraphs v1.4.0
  [a2af1166] SortingAlgorithms v1.1.1
  [d4ead438] SpatialIndexing v0.1.5
  [276daf66] SpecialFunctions v2.3.1
  [90137ffa] StaticArrays v1.6.3
  [1e83bf80] StaticArraysCore v1.4.2
  [4c8beaf5] StaticGraphs v0.3.0
  [82ae8749] StatsAPI v1.7.0
  [2913bbd2] StatsBase v0.34.0
  [4c63d2b9] StatsFuns v1.3.0
  [892a3eda] StringManipulation v0.3.4
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.10.1
  [3bb67fe8] TranscodingStreams v0.9.13
  [5c2747f8] URIs v1.5.0
  [3a884ed6] UnPack v1.0.2
  [ea10d353] WeakRefStrings v1.4.2
  [76eceee3] WorkerUtilities v1.6.1
  [ef3b0bb0] HELICS_jll v3.4.0+0
  [94ce4f54] Libiconv_jll v1.17.0+0
  [458c3c95] OpenSSL_jll v3.0.10+0
  [efe28fd5] OpenSpecFun_jll v0.5.5+0
  [f50d1b31] Rmath_jll v0.4.0+0
  [02c8fc9c] XML2_jll v2.10.4+0
  [8f1865be] ZeroMQ_jll v4.3.4+0
  [a9144af2] libsodium_jll v1.0.20+0
  [0dad84c5] ArgTools v1.1.1
  [56f22d72] Artifacts
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8ba89e20] Distributed
  [f43a241f] Downloads v1.6.0
  [7b1f6079] FileWatching
  [9fa8497b] Future
  [b77e0a4c] InteractiveUtils
  [4af54fe1] LazyArtifacts
  [b27032c2] LibCURL v0.6.3
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [ca575930] NetworkOptions v1.2.0
  [44cfe95a] Pkg v1.9.2
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization
  [1a1011a3] SharedArrays
  [6462fe0b] Sockets
  [2f01184e] SparseArrays
  [10745b16] Statistics v1.9.0
  [4607b0f0] SuiteSparse
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
  [e66e0078] CompilerSupportLibraries_jll v1.0.5+0
  [deac9b47] LibCURL_jll v7.84.0+0
  [29816b5a] LibSSH2_jll v1.10.2+0
  [c8ffd9c3] MbedTLS_jll v2.28.2+0
  [14a3606d] MozillaCACerts_jll v2022.10.11
  [4536629a] OpenBLAS_jll v0.3.21+4
  [05823500] OpenLibm_jll v0.8.1+0
  [bea87d4a] SuiteSparse_jll v5.10.1+6
  [83775a58] Zlib_jll v1.2.13+0
  [8e850b90] libblastrampoline_jll v5.8.0+0
  [8e850ede] nghttp2_jll v1.48.0+0
  [3f19e933] p7zip_jll v17.4.0+0

@trevorhardy
Copy link
Contributor Author

Here's re-adding HELICS:

julia> pkg"activate --temp"
  Activating new project at `/var/folders/zg/jkgkp40n45g0ydzw6d2dnzpw0000gn/T/jl_wxGeYE`

julia> pkg"add HELICS"
   Resolving package versions...
    Updating `/private/var/folders/zg/jkgkp40n45g0ydzw6d2dnzpw0000gn/T/jl_wxGeYE/Project.toml`
  [81524022] + HELICS v3.4.0
    Updating `/private/var/folders/zg/jkgkp40n45g0ydzw6d2dnzpw0000gn/T/jl_wxGeYE/Manifest.toml`
⌅ [fa961155] + CEnum v0.2.0
⌅ [ffbed154] + DocStringExtensions v0.8.6
  [81524022] + HELICS v3.4.0
  [692b3bcd] + JLLWrappers v1.5.0
  [21216c6a] + Preferences v1.4.0
  [ef3b0bb0] + HELICS_jll v3.4.0+0
  [8f1865be] + ZeroMQ_jll v4.3.4+0
  [a9144af2] + libsodium_jll v1.0.20+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.9.2
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.2+0
  [14a3606d] + MozillaCACerts_jll v2022.10.11
  [83775a58] + Zlib_jll v1.2.13+0
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`

@trevorhardy
Copy link
Contributor Author

And versioninfo()

julia> using InteractiveUtils

julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 10 × Apple M1 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_IMAGE_THREADS = 1

@trevorhardy
Copy link
Contributor Author

And seeing how I have yet to do literally anything with the project I need Julia for, I'm very happy to uninstall and re-install Julia and give this a fresh crack if we need to test something.

@mkitti
Copy link

mkitti commented Sep 13, 2023

Somehow, Agents.jl is preventing the installation of a recent version of HELICS.jl.

Do you need both in the same environment?

@trevorhardy
Copy link
Contributor Author

trevorhardy commented Sep 13, 2023

Somehow, Agents.jl is preventing the installation of a recent version of HELICS.jl.

Do you need both in the same environment?

Yes, very much so. The team I'm working with has been able to get this working on Windows. I didn't hear about any problems from them getting this working; a Mac specific problem?

@kdheepak
Copy link
Contributor

@mkitti I'm not sure if that's what is going on. I'm able to pkg> add Agents HELICS and get the latest version:

(tmp) pkg> st
Status `~/gitrepos/tmp/Project.toml`
  [46ada45e] Agents v5.17.1
  [81524022] HELICS v3.4.0

@trevorhardy
Copy link
Contributor Author

Let me use a clean install and try again.

@trevorhardy
Copy link
Contributor Author

I don't know what's going on but on my second attempt all went well.

julia> using Pkg
julia> Pkg.add("Agents")
julia> Pkg.add("HELICS")
(@v1.9) pkg> st
Status `~/.julia/environments/v1.9/Project.toml`
  [46ada45e] Agents v5.17.1
  [81524022] HELICS v3.4.0

Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants