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

It doesn't work on Windows 10 64-bit #1

Open
przemyslawzaworski opened this issue Jan 22, 2023 · 2 comments
Open

It doesn't work on Windows 10 64-bit #1

przemyslawzaworski opened this issue Jan 22, 2023 · 2 comments

Comments

@przemyslawzaworski
Copy link

Julia 1.6.7

ERROR: LoadError: Failed to precompile QHull [a8468747-bd6f-53ef-9e5c-744dbc5c59e7]

@blegat
Copy link
Owner

blegat commented Jan 23, 2023

Could you provide the full error message ?
The usual issue is that you have python installed but not scipy.spatial, see https://github.com/JuliaPy/PyCall.jl#specifying-the-python-version and https://github.com/JuliaPolyhedra/QHull.jl

@przemyslawzaworski
Copy link
Author

I have installed Python 3.11.1 with numpy-1.24.1 and scipy-1.10.0

Error with "Failed to precompile" was fixed: I reinstalled Julia 1.6.7, but additionally I also deleted directory with cached packages:
C:\Users<UserName>.julia (this directory isn't deleted during Julia uninstallation).

But now:

  215 dependencies successfully precompiled in 403 seconds (11 already precompiled)

julia> using VoroX

julia> foam(10, 3)
ERROR: QHULL WRAPPER is not properly loaded
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] macro expansion
    @ C:\Users\Komputer\.julia\packages\MiniQhull\PLvbq\src\load.jl:34 [inlined]
  [3] new_qhull_handler
    @ C:\Users\Komputer\.julia\packages\MiniQhull\PLvbq\src\bindings.jl:4 [inlined]
  [4] _delaunay(dim::Int32, numpoints::Int32, points::Base.ReinterpretArray{Float64, 1, StaticArraysCore.SVector{3, Float64}, Vector{StaticArraysCore.SVector{3, Float64}}, false}, flags::Nothing)
    @ MiniQhull C:\Users\Komputer\.julia\packages\MiniQhull\PLvbq\src\MiniQhull.jl:12
  [5] delaunay
    @ C:\Users\Komputer\.julia\packages\MiniQhull\PLvbq\src\MiniQhull.jl:140 [inlined]
  [6] delaunay
    @ C:\Users\Komputer\.julia\packages\MiniQhull\PLvbq\src\MiniQhull.jl:139 [inlined]
  [7] delaunay
    @ C:\Users\Komputer\.julia\packages\HyperVoronoiDelaunay\BjfiA\src\HyperVoronoiDelaunay.jl:95 [inlined]
  [8] delaunay(points::Vector{StaticArraysCore.SVector{3, Float64}}, algo::Function, p::HyperVoronoiDelaunay.Periodic{3, Float64})
    @ HyperVoronoiDelaunay C:\Users\Komputer\.julia\packages\HyperVoronoiDelaunay\BjfiA\src\HyperVoronoiDelaunay.jl:145
  [9] VoroX.Foam(::Vector{StaticArraysCore.SVector{3, Float64}}, ::Function, ::HyperVoronoiDelaunay.Periodic{3, Float64}, ::VoroX.Centroid, ::Vararg{Any, N} where N)
    @ VoroX C:\Users\Komputer\VoroX\src\foam.jl:175
 [10] (::VoroX.var"#resample#51"{StaticArraysCore.SVector{3, Float64}, StaticArraysCore.SVector{3, Float64}, Tuple{}, Makie.SliderGrid, Makie.Toggle, VoroX.var"#_periodic#44"{StaticArraysCore.SVector{3, Float64}, StaticArraysCore.SVector{3, Float64}}})(n::Int64)
    @ VoroX C:\Users\Komputer\VoroX\src\plot.jl:174
 [11] main(::Int64, ::StaticArraysCore.SVector{3, Float64}, ::StaticArraysCore.SVector{3, Float64}, ::Function)
    @ VoroX C:\Users\Komputer\VoroX\src\plot.jl:398
 [12] main(K::Int64, min_coords::StaticArraysCore.SVector{3, Float64}, max_coords::StaticArraysCore.SVector{3, Float64})    @ VoroX C:\Users\Komputer\VoroX\src\plot.jl:89
 [13] foam(::Int64, ::Int64)
    @ VoroX C:\Users\Komputer\VoroX\src\plot.jl:439
 [14] top-level scope
    @ REPL[4]:1

Probably due to:

harveydevereux/AlphaShapes.jl#1

gridap/MiniQhull.jl#5 (comment)

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