Couldn't use DifferentialEquations

package

#1

using DifferentialEquations
[ Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]
ERROR: LoadError: LoadError: UndefVarError: is_windows not defined
Stacktrace:
[1] top-level scope at /home/rzhli/.julia/packages/SymEngine/sh7Yz/deps/deps.jl:3
[2] include at ./boot.jl:317 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1044
[4] include at ./sysimg.jl:29 [inlined]
[5] include(::String) at /home/rzhli/.julia/packages/SymEngine/sh7Yz/src/SymEngine.jl:3
[6] top-level scope at none:0
[7] include at ./boot.jl:317 [inlined]
[8] include_relative(::Module, ::String) at ./loading.jl:1044
[9] include(::Module, ::String) at ./sysimg.jl:29
[10] top-level scope at none:2
[11] eval at ./boot.jl:319 [inlined]
[12] eval(::Expr) at ./client.jl:393
[13] top-level scope at ./none:3
in expression starting at /home/rzhli/.julia/packages/SymEngine/sh7Yz/deps/deps.jl:2
in expression starting at /home/rzhli/.julia/packages/SymEngine/sh7Yz/src/SymEngine.jl:26
ERROR: LoadError: Failed to precompile SymEngine [123dc426-2d89-5057-bbad-38513e3affd8] to /home/rzhli/.julia/compiled/v1.0/SymEngine/uZhcI.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] macro expansion at ./logging.jl:311 [inlined]
[3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1190
[4] _require(::Base.PkgId) at ./logging.jl:309
[5] require(::Base.PkgId) at ./loading.jl:858
[6] macro expansion at ./logging.jl:309 [inlined]
[7] require(::Module, ::Symbol) at ./loading.jl:840
[8] include at ./boot.jl:317 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:1044
[10] include(::Module, ::String) at ./sysimg.jl:29
[11] top-level scope at none:2
[12] eval at ./boot.jl:319 [inlined]
[13] eval(::Expr) at ./client.jl:393
[14] top-level scope at ./none:3
in expression starting at /home/rzhli/.julia/packages/ParameterizedFunctions/ozDxQ/src/ParameterizedFunctions.jl:11
ERROR: LoadError: Failed to precompile ParameterizedFunctions [65888b18-ceab-5e60-b2b9-181511a3b968] to /home/rzhli/.julia/compiled/v1.0/ParameterizedFunctions/OKjOc.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] macro expansion at ./logging.jl:311 [inlined]
[3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1190
[4] _require(::Base.PkgId) at ./logging.jl:309
[5] require(::Base.PkgId) at ./loading.jl:858
[6] macro expansion at ./logging.jl:309 [inlined]
[7] require(::Module, ::Symbol) at ./loading.jl:840
[8] include at ./boot.jl:317 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:1044
[10] include(::Module, ::String) at ./sysimg.jl:29
[11] top-level scope at none:2
[12] eval at ./boot.jl:319 [inlined]
[13] eval(::Expr) at ./client.jl:393
[14] top-level scope at ./none:3
in expression starting at /home/rzhli/.julia/packages/DifferentialEquations/88DSk/src/DifferentialEquations.jl:18
ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/rzhli/.julia/compiled/v1.0/DifferentialEquations/UQdwS.ji.
Stacktrace:
[1] macro expansion at ./logging.jl:311 [inlined]
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1190
[3] macro expansion at ./logging.jl:309 [inlined]
[4] _require(::Base.PkgId) at ./loading.jl:947
[5] require(::Base.PkgId) at ./loading.jl:858
[6] macro expansion at ./logging.jl:309 [inlined]
[7] require(::Module, ::Symbol) at ./loading.jl:840


#2

The error has been fixed on the master branch (https://github.com/symengine/SymEngine.jl/commit/05e43fcc97bea242e8b3eb0d214bce4ba94e49ad), so I suggest you open an issue and request a new release of the package that will include the fix.

See also PSA: how to quote code with backticks


#3

solved, thanks