JuliaGeometry / DelaunayTriangulation.jl

DelaunayTriangulation.jl: A Julia package for Delaunay triangulations and Voronoi tessellations in the plane
https://juliageometry.github.io/DelaunayTriangulation.jl/
MIT License
69 stars 6 forks source link

A problem when installing DelaunayTriangulation #64

Closed Beniuy closed 1 year ago

Beniuy commented 1 year ago

image I overcome the following problem when installing, while it works during installation of other packages. Thanks for your advice !

DanielVandH commented 1 year ago

Hmm. I'm not sure why this might be happening for you @Beniuy. For me:

C:\Users\User>julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.6.7 (2022-07-19)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.6) pkg> activate --temp
  Activating new environment at `C:\Users\User\AppData\Local\Temp\jl_0qKI50\Project.toml`

(jl_0qKI50) pkg>  add DelaunayTriangulation
    Updating registry at `C:\Users\User\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
   Installed MakieCore ────────── v0.6.4
   Installed ChangesOfVariables ─ v0.1.8
   Installed InverseFunctions ─── v0.1.11
   Installed Primes ───────────── v0.5.4
   Installed FillArrays ───────── v1.4.2
    Updating `C:\Users\User\AppData\Local\Temp\jl_0qKI50\Project.toml`
  [927a84f5] + DelaunayTriangulation v0.7.2
[truncated]

Perhaps this is an issue with a corrupted folder for the general registry. Can you try following the steps here https://github.com/JuliaLang/julia/issues/40531#issuecomment-827455940 and then trying again please? or something like

] registry remove General
] registry add General

might work.

Beniuy commented 1 year ago

Thank you for your timely and effective advice ! The problem has been resolved.