-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Installation results in multiple errors with Julia 1.7.3 #174
Comments
Looks like it's just a RecursiveFactorization thing @chriselrod . Did you use the binaries downloaded from https://julialang.org/downloads/ ? |
No, I just called Pkg.add("LinearSolve"). I have another computer where it works without any problems, so maybe there are some issues with another library?! |
No, it's throwing an error with the RecursiveFactorization.jl dependency. You can recreate your error without ever installing LinearSolve.jl. |
Oh, I'll check this out. The error came with installing LinearSolve, but maybe it is not the origin. |
I'm just reading the error message.
So did you use the binaries downloaded from https://julialang.org/downloads/ ? |
Yes, I downloaded Julia from https://julialang.org/downloads/ and before installing LinearSolve there was no error. |
And so now you tried |
Well, I'm new to Julia and try out some packages. |
Yes, these will probably give better error messages. |
That's okay, but please understand that "RecursiveFactorization didn't work" isn't helpful or actionable for us, because it does work for us. If you can add and |
Hmmm ... I tried out some packages, that worked and after installing LinearSolve there are error messages as shown above. So what can a user better do than posting the error poutput? |
Did you restart your session after updating the packages? If you were using a package and then it got updated and changed its binaries, it can be helpful to restart. julia> Pkg.precompile()
Precompiling project...
✗ CpuId
✗ KrylovKit
✗ CommonSolve
✗ SnoopPrecompile
✗ SIMDTypes
✗ OffsetArrays
✗ ArrayInterfaceStaticArraysCore
✗ BitTwiddlingConvenienceFunctions
✗ CloseOpenIntervals
✗ SuiteSparse_jll
✗ CPUSummary
✗ ArrayInterfaceOffsetArrays
✗ ArrayInterfaceStaticArrays
✗ RecursiveArrayTools
✗ HostCPUFeatures
✗ KLU
✗ PolyesterWeave
✗ LayoutPointers
✗ SciMLBase
✗ StrideArraysCore
✗ VectorizationBase
✗ SLEEFPirates
✗ Polyester
✗ SIMDDualNumbers
✗ LoopVectorization
✗ TriangularSolve
✗ RecursiveFactorization
✗ LinearSolve
3 dependencies successfully precompiled in 9 seconds (334 already precompiled)
ERROR: The following 1 direct dependency failed to precompile:
LinearSolve [7ed4a6bd-45f5-4d41-b270-4a48e9bafcae] What this is showing you is not necessarily that LinearSolve.jl failed, but that the packages which LinearSolve.jl uses failed to load and precompile. |
I'm a little embarrassed now, but after removing LinearSolve, restarting Julia and reinstalling LinearSolve (I wanted to doublecheck what I did and doing some more screenshots) now all installs without any problem. So I'm afraid we cannot learn anything, can we? Probably I should have restarted Julia after installing other Packages ... |
When you update your packages, it's usually a good idea to restart your session because the binaries and precompilation caches need to be invalidated. Especially on Windows where if these files are open, nothing can write to them because of permissions issues, so you need to restart Julia for it to redo the compilations (on Windows). |
When I call Pkg.add("LinearSolve") I get a long list of errors. Pkg.precompile() results in:
The text was updated successfully, but these errors were encountered: