Problem installing packages using Julia 1.11.2

I don’t know why 65% of pkgs can not be installed on my computer. Please explain why?.

I’m using Julia version 1.11.2, I used julia version 1,10.6
Thank you so much

This would probably depend on which packages you tried to install, and what system you’re using. A few more details would help us narrow it down. This sounds unusual for sure.

like non-linear pde, plots …etc. I’m using Ubuntu24.01.

Thank you for your responde.

How did you install Julia?
What is the output of:

versioninfo()

What is the exact name of a package you cannot install?

I installed with command line 1.11.2

That might be the issue, as the Julia versions distributed by the OS repos are often broken. It’s strongly recommended to download Julia directly from the website, or use juliaup to install Julia. These should install working versions.

Thank you so much, but I installed from the app and website, still not working.

I think if you want useful advice you’ll need to provide actual stack traces of errors you’re seeing during installation.

I’m using Julie 1.11.2 and in my experience 100% of packages (including plots) install successfully.

2 Likes

I realy Appreciated.

(@v1.11) pkg> add PkgDependency
Resolving package versions…
No Changes to ~/.julia/environments/v1.11/Project.toml
No Changes to ~/.julia/environments/v1.11/Manifest.toml
Precompiling project…
Progress [========================================>] 68/68
✗ TransformsBase
✗ BlockArrays
✗ Pluto
✗ CxxWrap
? DomainSets
✗ Enzyme
✗ GAP
✗ InfiniteArrays
✗ Meshes
✗ BlackBoxOptim → BlackBoxOptimRealtimePlotServerExt
✗ CUDA
✗ OrdinaryDiffEq
✗ Polymake
✗ Singular
? Symbolics
✗ Gridap
✗ Transducers → TransducersBlockArraysExt
✗ BlockBandedMatrices
✗ BifurcationKit
✗ Ferrite → FerriteBlockArrays
✗ Enzyme → EnzymeSpecialFunctionsExt
✗ Enzyme → EnzymeStaticArraysExt
✗ Enzyme → EnzymeChainRulesCoreExt
✗ Enzyme → EnzymeLogExpFunctionsExt
✗ Enzyme → EnzymeBFloat16sExt
✗ QuadGK → QuadGKEnzymeExt
✗ CUDA → ChainRulesCoreExt
✗ CUDA → SpecialFunctionsExt
✗ Atomix → AtomixCUDAExt
✗ StridedViews → StridedViewsCUDAExt
✗ LinearOperators → LinearOperatorsCUDAExt
✗ Tullio → TullioCUDAExt
✗ MPI → CUDAExt
✗ Oscar
? ModelingToolkit
✗ LazyBandedMatrices
✗ ClimaComms
✗ ClimaTimeSteppers
✗ TransformsBase
✗ BlockArrays
✗ Pluto
✗ CxxWrap
? DomainSets
✗ Enzyme
✗ GAP
✗ InfiniteArrays
✗ Meshes
✗ BlackBoxOptim → BlackBoxOptimRealtimePlotServerExt
✗ CUDA
✗ OrdinaryDiffEq
✗ Polymake
✗ Singular
? Symbolics
✗ Gridap
✗ Transducers → TransducersBlockArraysExt
✗ BlockBandedMatrices
✗ BifurcationKit
✗ Ferrite → FerriteBlockArrays
✗ Enzyme → EnzymeSpecialFunctionsExt
✗ Enzyme → EnzymeStaticArraysExt
✗ Enzyme → EnzymeChainRulesCoreExt
✗ Enzyme → EnzymeLogExpFunctionsExt
✗ Enzyme → EnzymeBFloat16sExt
✗ QuadGK → QuadGKEnzymeExt
✗ CUDA → ChainRulesCoreExt
✗ CUDA → SpecialFunctionsExt
✗ Atomix → AtomixCUDAExt
✗ StridedViews → StridedViewsCUDAExt
✗ LinearOperators → LinearOperatorsCUDAExt
✗ Tullio → TullioCUDAExt
✗ MPI → CUDAExt
✗ Oscar
? ModelingToolkit
✗ LazyBandedMatrices
✗ ClimaComms
✗ ClimaTimeSteppers
✗ RRTMGP
✗ ClimaCore
? ParameterizedFunctions
✗ DiffEqOperators
✗ SemiseparableMatrices
✗ DynamicalSystemsBase
✗ DelayDiffEq
✗ StochasticDiffEq
✗ RRTMGP → CreateParametersExt
✗ ClimaCore → KrylovExt
✗ InfiniteLinearAlgebra
✗ ClimaAtmos
✗ ApproxFunBase
✗ ApproxFunBase → ApproxFunBaseTestExt
✗ ApproxFunOrthogonalPolynomials
? ApproxFunFourier
✗ ApproxFunOrthogonalPolynomials → ApproxFunOrthogonalPolynomialsPolynomialsExt
✗ ApproxFunOrthogonalPolynomials → ApproxFunOrthogonalPolynomialsStaticExt
? ApproxFunSingularities
? ApproxFunSingularities → ApproxFunSingularitiesStaticArraysExt
? ApproxFun
? ApproxFun → ApproxFunDualNumbersExt
✗ PredefinedDynamicalSystems
✗ ChaosTools
✗ Attractors
✗ DiffEqSensitivity
✗ DifferentialEquations
✗ Attractors → AttractorsVisualizations
✗ DynamicalSystems
✗ DynamicalSystems → DynamicalSystemsVisualizations
0 dependencies successfully precompiled in 1071 seconds. 749 already precompiled.
9 dependencies failed but may be precompilable after restarting julia
9 dependencies had output during precompilation:
┌ Symbolics
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFun
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFunSingularities
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFunFourier
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ DomainSets
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFunSingularities → ApproxFunSingularitiesStaticArraysExt
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ParameterizedFunctions
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ModelingToolkit
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFun → ApproxFunDualNumbersExt
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

59 dependencies errored.
For a report of the errors see julia> err. To retry use pkg> precompile

(@v1.11) pkg> dev Pkg.update(“Pluto”)

ERROR: Unable to parse Pkg.update( as a package.

(@v1.11) pkg> dev Pluto
Cloning git-repo [https://github.com/fonsp/Pluto.jl.git](https://github.com/fonsp/Pluto.jl.git`)
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package HTTP [cd3eb016]:
HTTP [cd3eb016] log:
├─possible versions are: 0.6.10 - 1.10.13 or uninstalled
├─restricted to versions 1.5.2 - 1 by Pluto [c3e4b0f8], leaving only versions: 1.5.2 - 1.10.13
│ └─Pluto [c3e4b0f8] log:
│ ├─possible versions are: 0.20.4 or uninstalled
│ ├─restricted to versions * by project [e220be82], leaving only versions: 0.20.4
│ │ └─project [e220be82] log:
│ │ ├─possible versions are: 0.0.0 or uninstalled
│ │ └─project [e220be82] is fixed to version 0.0.0
│ └─Pluto [c3e4b0f8] is fixed to version 0.20.4
└─restricted by compatibility requirements with Atom [c52e3926] to versions: 0.6.10 - 0.9.17 — no versions left
└─Atom [c52e3926] log:
├─possible versions are: 0.8.0 - 0.12.38 or uninstalled
└─restricted to versions * by project [e220be82],

(@v1.11) pkg> up MRCFile
Updating registry at ~/.julia/registries/General.toml
No Changes to ~/.julia/environments/v1.11/Project.toml
No Changes to ~/.julia/environments/v1.11/Manifest.toml
Precompiling project…
Progress [========================================>] 68/68
✗ TransformsBase
✗ BlockArrays
✗ Pluto
✗ CxxWrap
? DomainSets
✗ InfiniteArrays
✗ GAP
✗ Meshes
✗ Enzyme
✗ BlackBoxOptim → BlackBoxOptimRealtimePlotServerExt
✗ CUDA
✗ OrdinaryDiffEq
✗ Polymake
✗ Singular
? Symbolics
✗ Gridap
✗ Transducers → TransducersBlockArraysExt
✗ BlockBandedMatrices
✗ BifurcationKit
✗ Ferrite → FerriteBlockArrays
✗ Enzyme → EnzymeSpecialFunctionsExt
✗ Enzyme → EnzymeStaticArraysExt
✗ Enzyme → EnzymeChainRulesCoreExt
✗ Enzyme → EnzymeLogExpFunctionsExt
✗ Enzyme → EnzymeBFloat16sExt
✗ QuadGK → QuadGKEnzymeExt
✗ CUDA → ChainRulesCoreExt
✗ CUDA → SpecialFunctionsExt
✗ Atomix → AtomixCUDAExt
✗ StridedViews → StridedViewsCUDAExt
✗ LinearOperators → LinearOperatorsCUDAExt
✗ Tullio → TullioCUDAExt
✗ MPI → CUDAExt
? ModelingToolkit
✗ Oscar
✗ LazyBandedMatrices
✗ ClimaComms
? ParameterizedFunctions
✗ DiffEqOperators
✗ SemiseparableMatrices
✗ TransformsBase
✗ BlockArrays
✗ Pluto
✗ CxxWrap
? DomainSets
✗ InfiniteArrays
✗ GAP
✗ Meshes
✗ Enzyme
✗ BlackBoxOptim → BlackBoxOptimRealtimePlotServerExt
✗ CUDA
✗ OrdinaryDiffEq
✗ Polymake
✗ Singular
? Symbolics
✗ Gridap
✗ Transducers → TransducersBlockArraysExt
✗ BlockBandedMatrices
✗ BifurcationKit
✗ Ferrite → FerriteBlockArrays
✗ Enzyme → EnzymeSpecialFunctionsExt
✗ Enzyme → EnzymeStaticArraysExt
✗ Enzyme → EnzymeChainRulesCoreExt
✗ Enzyme → EnzymeLogExpFunctionsExt
✗ Enzyme → EnzymeBFloat16sExt
✗ QuadGK → QuadGKEnzymeExt
✗ CUDA → ChainRulesCoreExt
✗ CUDA → SpecialFunctionsExt
✗ Atomix → AtomixCUDAExt
✗ StridedViews → StridedViewsCUDAExt
✗ LinearOperators → LinearOperatorsCUDAExt
✗ Tullio → TullioCUDAExt
✗ MPI → CUDAExt
? ModelingToolkit
✗ Oscar
✗ LazyBandedMatrices
✗ ClimaComms
? ParameterizedFunctions
✗ DiffEqOperators
✗ SemiseparableMatrices
✗ ClimaTimeSteppers
✗ RRTMGP
✗ ClimaCore
✗ DynamicalSystemsBase
✗ DelayDiffEq
✗ StochasticDiffEq
✗ InfiniteLinearAlgebra
✗ RRTMGP → CreateParametersExt
✗ ClimaCore → KrylovExt
✗ ApproxFunBase
✗ ClimaAtmos
✗ ApproxFunBase → ApproxFunBaseTestExt
✗ ApproxFunOrthogonalPolynomials
? ApproxFunFourier
✗ ApproxFunOrthogonalPolynomials → ApproxFunOrthogonalPolynomialsPolynomialsExt
✗ ApproxFunOrthogonalPolynomials → ApproxFunOrthogonalPolynomialsStaticExt
? ApproxFunSingularities
? ApproxFunSingularities → ApproxFunSingularitiesStaticArraysExt
? ApproxFun
? ApproxFun → ApproxFunDualNumbersExt
✗ PredefinedDynamicalSystems
✗ ChaosTools
✗ Attractors
✗ DiffEqSensitivity
✗ DifferentialEquations
✗ DynamicalSystems
✗ Attractors → AttractorsVisualizations
✗ DynamicalSystems → DynamicalSystemsVisualizations
0 dependencies successfully precompiled in 1354 seconds. 749 already precompiled.
9 dependencies failed but may be precompilable after restarting julia
9 dependencies had output during precompilation:
┌ Symbolics
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFun
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFunSingularities
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFunFourier
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ DomainSets
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFunSingularities → ApproxFunSingularitiesStaticArraysExt
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ParameterizedFunctions
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ModelingToolkit
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

┌ ApproxFun → ApproxFunDualNumbersExt
│ WARNING: Method definition isapprox(IntervalSets.AbstractInterval{T} where T, IntervalSets.AbstractInterval{T} where T) in module IntervalSets at /home/magus/.julia/packages/IntervalSets/kyCuf/src/IntervalSets.jl:296 overwritten in module DomainSets at /home/magus/.julia/packages/DomainSets/aafhp/src/domains/interval.jl:52.
│ ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.

59 dependencies errored.
For a report of the errors see julia> err. To retry use pkg> precompile

Two pieces of advice

  1. when pasting a code, or output from the terminal, consider adding these ticks: ``` before and after your text, this will make it look like
this
  1. Try to avoid installing all the packages in the default environment. Have a look at: Writing your code and 1. Introduction · Pkg.jl
2 Likes

Please read: Working with Julia projects | Julia programming notes

I tried what you tried, but in a new and clean environment, and it works perfectly (on Ubuntu 24.04):

ufechner@framework:~$ mkdir test
ufechner@framework:~$ cd test
ufechner@framework:~/test$ julia +1.11 --project=.
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.2 (2024-12-01)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Pkg

julia> pkg"add PkgDependency"
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed ProgressLogging ─ v0.1.4
   Installed Highlights ────── v0.5.3
   Installed PkgDependency ─── v0.5.0
   Installed MyterialColors ── v0.3.0
   Installed Term ──────────── v2.0.6
    Updating `~/test/Project.toml`
  [9eb5382b] + PkgDependency v0.5.0
    Updating `~/test/Manifest.toml`
  [1520ce14] + AbstractTrees v0.4.5
  [da1fd8a2] + CodeTracking v1.3.6
  [9a962f9c] + DataAPI v1.16.0
  [e2d170a0] + DataValueInterfaces v1.0.0
  [ffbed154] + DocStringExtensions v0.9.3
  [eafb193a] + Highlights v0.5.3
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [1c23619d] + MyterialColors v0.3.0
  [bac558e1] + OrderedCollections v1.7.0
  [d96e819e] + Parameters v0.12.3
  [9eb5382b] + PkgDependency v0.5.0
  [aea7be01] + PrecompileTools v1.2.1
  [21216c6a] + Preferences v1.4.3
  [33c8b6b6] + ProgressLogging v0.1.4
  [3783bdb8] + TableTraits v1.0.1
  [bd369af6] + Tables v1.12.0
  [22787eb5] + Term v2.0.6
  [3a884ed6] + UnPack v1.0.2
  [1cfade01] + UnicodeFun v0.4.1
  [0dad84c5] + ArgTools v1.1.2
  [56f22d72] + Artifacts v1.11.0
  [2a0f44e3] + Base64 v1.11.0
  [ade2ca70] + Dates v1.11.0
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching v1.11.0
  [b77e0a4c] + InteractiveUtils v1.11.0
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2 v1.11.0
  [8f399da3] + Libdl v1.11.0
  [56ddb016] + Logging v1.11.0
  [d6f4376e] + Markdown v1.11.0
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.11.0
  [de0858da] + Printf v1.11.0
  [3fa0cd96] + REPL v1.11.0
  [9a3f8284] + Random v1.11.0
  [ea8e919c] + SHA v0.7.0
  [6462fe0b] + Sockets v1.11.0
  [f489334b] + StyledStrings v1.11.0
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [cf7118a7] + UUIDs v1.11.0
  [4ec0a83e] + Unicode v1.11.0
  [deac9b47] + LibCURL_jll v8.6.0+0
  [e37daf67] + LibGit2_jll v1.7.2+0
  [29816b5a] + LibSSH2_jll v1.11.0+1
  [c8ffd9c3] + MbedTLS_jll v2.28.6+0
  [14a3606d] + MozillaCACerts_jll v2023.12.12
  [83775a58] + Zlib_jll v1.2.13+1
  [8e850ede] + nghttp2_jll v1.59.0+0
  [3f19e933] + p7zip_jll v17.4.0+2
Precompiling project...
  19 dependencies successfully precompiled in 26 seconds. 27 already precompiled.

julia> 

If you have problems installing a specific package, always try if it works if you install it in a new, empty environment.

2 Likes

Hellow Thank you very much

Hi, I think the issue here is an outdated version of IntervalSets.jl or DomainSets.jl. Could you try adding a compat bound to ensure that the latest version is fetched for each of these packages? This should resolve the issue with the method overwriting.

1 Like

Hello
Still not fixed

What is not fixed?

Can you share the output of

using Pkg
Pkg.status()

?

I assume two of your packages do not play well together. To fix that we need to find out which packages this are.

Many pakgs are ok, but some of them like plots, PDE Solver , OrdinaryDiffEqDefault,
DelayDiffEq, OrdinaryDiffEqBDF and DelayDiffEq, Can not be installed.
Thank you very much

Would you mind sharing the Project.toml and Manifest.toml files? This should let us reproduce the issue.

General remark: Don’t install many packages in the global environment, only a few that are needed for development. I have:

julia
using Pkg
Pkg.status()

I have as output:

julia> Pkg.status()
Status `~/.julia/environments/v1.10/Project.toml`
  [16fef848] LiveServer v1.4.0
  [14b8a8f1] PkgTemplates v0.7.53
  [295af30f] Revise v3.6.4
  [1e6cf692] TestEnv v1.102.0

I use LiveServer to view the documentation of my own packages while writing it.

Then you should create a new project (==folder with Project.toml file) for each of your programming projects.

mkdir myproject
cd project
julia --project=.

Now add the packages you want to use for this specific project one by one:

using Pkg
pkg"add Plots"
pkg"add OrdinaryDiffEqDefault"
pkg"add DelayDiffEq"
pkg"add OrdinaryDiffEqBDF"

On my machine I can install all of these packages in a new project without problem (I could not find a package with the name PDE Solver).

So please add the packages you need for your project one by one until you hit an error. When you hit an error, please report:

  • the name of the package that caused the error
  • the output of
using Pkg
Pkg.status()

Then we can help you.

To demonstrate how the environment can affect installation try a temporary environment.

using Pkg
Pkg.activate(; temp = true)
Pkg.add("PkgDependency")
using PkgDependency
1 Like