# Trouble with installing AlphaShapes package

**URL:** https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599
**Category:** General Usage
**Created:** [December 16, 2025, 10:36pm UTC](https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599 "2025-12-16T22:36:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![iamsuddhasattwa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iamsuddhasattwa/32/7441_2.png) [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)
#### Post date: [December 16, 2025, 10:36pm UTC](https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599/1 "2025-12-16T22:36:59Z")

</div>

I am very interested in using the [AlphaShapes.jl](https://github.com/harveydevereux/AlphaShapes.jl) package.  
However after installation, I get the following error when I try to load it for the first time. I would appreciate any help with troubleshoorting.

```julia-auto
julia> using AlphaShapes
[Info: Precompiling AlphaShapes [23a43136-1936-4ec7-b2ed-3a5dbec7203f]
ERROR: LoadError: ArgumentError: Platform `riscv64-linux-gnu` is not an officially supported platform
Stacktrace:
 [1] parse(::Type{Base.BinaryPlatforms.Platform}, triplet::String; validate_strict::Bool)
   @ Base.BinaryPlatforms ./binaryplatforms.jl:752
 [2] parse(::Type{Base.BinaryPlatforms.Platform}, triplet::String)
   @ Base.BinaryPlatforms ./binaryplatforms.jl:670
 [3] (::Qhull_jll.var"#parse_wrapper_platform#1")(x::Any)
   @ Qhull_jll ~/.julia/packages/JLLWrappers/QpMQW/src/toplevel_generators.jl:113
 [4] (::Qhull_jll.var"#make_wrapper_dict#2"{Qhull_jll.var"#parse_wrapper_platform#1"})(dir::Any, x::Any)
   @ Qhull_jll ~/.julia/packages/JLLWrappers/QpMQW/src/toplevel_generators.jl:141
 [5] top-level scope
   @ ~/.julia/packages/JLLWrappers/QpMQW/src/toplevel_generators.jl:156
 [6] include
   @ ./Base.jl:419 [inlined]
 [7] 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::String)
   @ Base ./loading.jl:1554
 [8] top-level scope
   @ stdin:1
in expression starting at /home/suddhas/.julia/packages/Qhull_jll/IUkFz/src/Qhull_jll.jl:2
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile Qhull_jll [784f63db-0788-585a-bace-daefebcd302b] to /home/suddhas/.julia/compiled/v1.8/Qhull_jll/jl_t5I7Ce.
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
  [9] include(mod::Module, _path::String)
    @ Base ./Base.jl:419
 [10] top-level scope
    @ ~/.julia/packages/JLLWrappers/QpMQW/src/toplevel_generators.jl:188
 [11] include
    @ ./Base.jl:419 [inlined]
 [12] 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::String)
    @ Base ./loading.jl:1554
 [13] top-level scope
    @ stdin:1
in expression starting at /home/suddhas/.julia/packages/QhullMiniWrapper_jll/Wa07v/src/wrappers/x86_64-linux-gnu.jl:4
in expression starting at /home/suddhas/.julia/packages/QhullMiniWrapper_jll/Wa07v/src/QhullMiniWrapper_jll.jl:2
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile QhullMiniWrapper_jll [460c41e3-6112-5d7f-b78c-b6823adb3f2d] to /home/suddhas/.julia/compiled/v1.8/QhullMiniWrapper_jll/jl_QhlmUt.
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
  [9] include
    @ ./Base.jl:419 [inlined]
 [10] 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::String)
    @ Base ./loading.jl:1554
 [11] top-level scope
    @ stdin:1
in expression starting at /home/suddhas/.julia/packages/MiniQhull/cY6wk/src/MiniQhull.jl:1
in expression starting at stdin:1
    @ 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
  [9] include
    @ ./Base.jl:419 [inlined]
 [10] 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
 [11] top-level scope
    @ stdin:1
in expression starting at /home/suddhas/.julia/packages/AlphaShapes/40jJV/src/AlphaShapes.jl:1
in expression starting at stdin:1
ERROR: Failed to precompile AlphaShapes [23a43136-1936-4ec7-b2ed-3a5dbec7203f] to /home/suddhas/.julia/compiled/v1.8/AlphaShapes/jl_hMeIi5.
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

```

Here is the version-info

```julia-auto
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 5825U with Radeon Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, znver3)
  Threads: 36 on 16 virtual cores
Environment:
  JULIA_NUM_THREADS = 36

```

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [December 16, 2025, 10:48pm UTC](https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599/2 "2025-12-16T22:48:40Z")

</div>

Can you share the output of:

```julia-auto
versioninfo()

```

?

I installed it on Linux on Julia 1.12, and that worked.

However, the package is not well-maintained; it lacks working unit tests for all operating systems.

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [December 16, 2025, 10:53pm UTC](https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599/3 "2025-12-16T22:53:45Z")

</div>

> [@Weird \`ERROR: LoadError: ArgumentError: Platform \`riscv64-linux-gnu-libgfortran5\` is not an officially supported platform\` when loading package](https://discourse.julialang.org/t/weird-error-loaderror-argumenterror-platform-riscv64-linux-gnu-libgfortran5-is-not-an-officially-supported-platform-when-loading-package/124537/3):
>
> Then you have an older version of JLLWrappers in some other environment. You should have 1.7.0 everywhere, if you somehow happen to load a previous version you get that issue. Of course not, otherwise they wouldn’t get that error in the first place.

TLDR you have an old version of the package JLLWrappers in your environment (\<v1.7.0) _and_ you’re using an old version of Julia (\<v1.10.8, or \<v1.11.3 in the 1.11 series). Update either JLLWrappers or your Julia version, ideally both of them.

---

<div class="post-metadata">

### Author: ![iamsuddhasattwa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iamsuddhasattwa/32/7441_2.png) [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)
#### Post date: [December 16, 2025, 11:25pm UTC](https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599/4 "2025-12-16T23:25:04Z")

</div>

Mine is 1.8.5. I have updated my entry and mentioned this now.

Thank you for sharing your experience with this package. I am mostly in search of a triangulation algorithm that works for submanifolds embedded in Euclidean space. The Delauney method does not quite do the job, as it creates simplices of the same dimension as the ambient space.

---

<div class="post-metadata">

### Author: ![iamsuddhasattwa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iamsuddhasattwa/32/7441_2.png) [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)
#### Post date: [December 16, 2025, 11:26pm UTC](https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599/5 "2025-12-16T23:26:42Z")

</div>

> [@giordano](#):
>
> JLLWrappers

Thanks for the feedback. My version is 1.8.5. I was not aware of this feature called `JLLWrappers`. Could I request you to point me towards a page where I could know more about this ?

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [December 16, 2025, 11:29pm UTC](https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599/6 "2025-12-16T23:29:25Z")

</div>

JLLWrappers.jl is simply a package you have in your environment. In the REPL type

```julia-auto
]status -m JLLWrappers

```

to see the version of the package (`]` is for entering the [Pkg REPL mode](https://pkgdocs.julialang.org/v1/getting-started/#Basic-Usage)). You should see that `JLLWrappers` is older than v1.7.0.

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [December 17, 2025, 3:01am UTC](https://discourse.julialang.org/t/trouble-with-installing-alphashapes-package/134599/7 "2025-12-17T03:01:28Z")

</div>

The key point: Always use project-specific, not global, environments, as explained [here](https://ufechner7.github.io/2022/08/16/julia-projects.html).

And use:

```julia-auto
using Pkg
Pkg.status()

```

to check if the versions of your key packages are up to date and that no packages you no longer need are in your environment.

And Julia 1.8.x is no longer maintained. If possible, try updating to Julia 1.10.x or 1.12.x Switching Julia versions is easy with [juliaup](https://github.com/JuliaLang/juliaup) .
