Package installation errors for new computer, but working on previous computer

Hi, I am doing a new installation of Julia on a new (Windows 11 Pro) Laptop, using programs that run well on my previous desktop computer, and I’m getting a compilation error after adding (and first using) a package that still works on the Windows desktop computer (which uses Windows 11 Enterprise). This is the error message:

ERROR: The following 1 direct dependency failed to precompile:

DiffEqOperators 

Failed to precompile DiffEqOperators [9fdde737-9c7f-55bf-ade8-46b3f136cc48] to "C:\\Users\\MyNameHere\\.julia\\compiled\\v1.11\\DiffEqOperators\\jl_46DB.tmp".
ERROR: LoadError: too many parameters for type AbstractTriangular

The complete list of packages I added, in the order they were added (and used), is:

using Pkg
using Plots
#
using OrdinaryDiffEq
using DiffEqBase
using DifferentialEquations
#
using DiffEqOperators
using BandedMatrices
#
using Sundials # for CVODE_BDF as a solver!
using ModelingToolkit
using SparseArrays
using SparsityDetection
#
using QuadGK
#
using SpecialFunctions
#
using DelimitedFiles
using BSON
using JLSO
using Dates
#
using LinearAlgebra
using FiniteDiff
using FiniteDifferences
using ForwardDiff
using SparseDiffTools
using ElasticArrays
#
using Interpolations
using Optim
using RollingFunctions
using Polynomials
# using PolyFit
#
using BSplineKit
using Roots
using Statistics
using LinearAlgebra
#
using Dierckx

I need all these packages to run my (very large) simulation program, which is not very modifiable.

If anyone knows why this new install is throwing up an error while using DiffEqOperators, and how to fix it, I’d appreciate the help. Thank you!

I’d try

  1. Create a new project environment, and start not from the global environment but this
    using Pkg
    Pkg.activate(@DIR)
  2. Add the packages and Pkg.instantiate()
  3. Try Pkg.instantiate()
  4. If still no joy, try Pkg.update and see if there are any dependencies that can’t be reconciled with Manifest.toml
  5. Clear the compiled cache by removing C:\Users\<Username>\.julia\compiled\v1.11\
  6. Try rebuilding with
    Pkg.build(“DiffEqOperators”)
  7. If all else fails, check the julia version on your other hosts and fall back to the later if not 1.11

1.11 is stricter about typing and the error you see has appeared with other packages.