# Error in using DifferentialEquations

**URL:** <https://discourse.julialang.org/t/error-in-using-differentialequations/36012>\
**Category:** General Usage\
**Tags:** package\
**Created:** [March 15, 2020, 2:28pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012 "2020-03-15T14:28:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eris/32/8438_2.png) [@Eris](https://discourse.julialang.org/u/Eris)\
**Post date:** [March 15, 2020, 2:28pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/1 "2020-03-15T14:28:00Z")

</div>

I just installed Julia and was testing out some packages. I installed DifferentialEquations but I get the following output when I try using it:

> using DifferentialEquations  
> [Info: Precompiling DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa]  
> ERROR: LoadError: LoadError: UndefVarError: eachcol not defined  
> Stacktrace:  
> [1] getproperty(::Module, ::Symbol) at ./sysimg.jl:13  
> [2] top-level scope at none:0  
> [3] include at ./boot.jl:317 [inlined]  
> [4] include\_relative(::Module, ::String) at ./loading.jl:1044  
> [5] include at ./sysimg.jl:29 [inlined]  
> [6] include(::String) at /home/.julia/packages/DiffEqBase/97hxA/src/DiffEqBase.jl:1  
> [7] top-level scope at none:0  
> [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/.julia/packages/DiffEqBase/97hxA/src/operators/basic\_operators.jl:102  
> in expression starting at /home/.julia/packages/DiffEqBase/97hxA/src/DiffEqBase.jl:516  
> ERROR: LoadError: Failed to precompile DiffEqBase [2b5f629d-d688-5b77-993f-72d75c75574e] to /home/.julia/compiled/v1.0/DiffEqBase/oaevG.ji.  
> Stacktrace:  
> [1] error(::String) at ./error.jl:33  
> [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203  
> [3] \_require(::Base.PkgId) at ./loading.jl:960  
> [4] require(::Base.PkgId) at ./loading.jl:858  
> [5] require(::Module, ::Symbol) at ./loading.jl:853  
> [6] include at ./boot.jl:317 [inlined]  
> [7] include\_relative(::Module, ::String) at ./loading.jl:1044  
> [8] include(::Module, ::String) at ./sysimg.jl:29  
> [9] top-level scope at none:2  
> [10] eval at ./boot.jl:319 [inlined]  
> [11] eval(::Expr) at ./client.jl:393  
> [12] top-level scope at ./none:3  
> in expression starting at /home/.julia/packages/DifferentialEquations/9ez1L/src/DifferentialEquations.jl:5  
> ERROR: Failed to precompile DifferentialEquations [0c46a032-eb83-5123-abaf-570d42b7fbaa] to /home/.julia/compiled/v1.0/DifferentialEquations/UQdwS.ji.  
> Stacktrace:  
> [1] error(::String) at ./error.jl:33  
> [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203  
> [3] \_require(::Base.PkgId) at ./loading.jl:960  
> [4] require(::Base.PkgId) at ./loading.jl:858  
> [5] require(::Module, ::Symbol) at ./loading.jl:853

I tried reinstalling various dependancies but none of it worked. I’m using Ubuntu 18.04.4.

---

<div class="post-metadata">

**Author:** ![affans](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/affans/32/11911_2.png) [@affans](https://discourse.julialang.org/u/affans)\
**Post date:** [March 15, 2020, 3:28pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/2 "2020-03-15T15:28:42Z")

</div>

What is your Julia version and DataFrames version? Seems like you are using a DataFrames version that requires Julia 1.1 or above… (although the package manager shouldve caught this). Can you run `versioninfo()` and `] st` in the REPL?

---

<div class="post-metadata">

**Author:** ![Eris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/eris/32/8438_2.png) [@Eris](https://discourse.julialang.org/u/Eris)\
**Post date:** [March 15, 2020, 3:52pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/3 "2020-03-15T15:52:51Z")

</div>

Julia Version 1.0.4 and the ] st returns:

> Status `~/.julia/environments/v1.0/Project.toml`  
> [a93c6f00] DataFrames v0.20.2  
> [0c46a032] DifferentialEquations v6.10.1  
> [61744808] DynamicalSystems v1.4.0  
> [7073ff75] IJulia v1.21.1  
> [1dea7af3] OrdinaryDiffEq v5.29.0  
> [65888b18] ParameterizedFunctions v4.2.1  
> [91a5bcdd] Plots v0.29.7

As a built-in package, shouldn’t DataFrames be compatible by default?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [March 15, 2020, 3:55pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/4 "2020-03-15T15:55:59Z")

</div>

It’s due to using v1.0 and last night’s release. I’ll put out a bugfix version (and then make the versions on 1.0 fixed…)

---

<div class="post-metadata">

**Author:** ![kellertuer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kellertuer/32/220707_2.png) [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Post date:** [March 18, 2020, 8:39am UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/5 "2020-03-18T08:39:18Z")

</div>

Thanks for such a fast reply, I seem to have a similar issue, though it’s little harder to check, since we only need differential equations during testing. The error message however refers to the same line. Do you have an idea, how this can be solved? The log of our test is

> **[Travis CI - Test and Deploy with Confidence](https://app.travis-ci.com/github/JuliaNLSolvers/Manifolds.jl/jobs/663616477?utm_medium=notification&utm_source=github_status)**
>
> Travis CI enables your team to test and ship your apps with confidence. Easily sync your projects with Travis CI and you'll be testing your code in minutes.

Is I can help with any further information, let me know.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [March 18, 2020, 2:22pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/6 "2020-03-18T14:22:58Z")

</div>

DiffEqBase.jl v6.23 add Compat for `eachcol`, but it seems something happened there. So I’m going to figure out what’s up with Compat and handle that…

---

<div class="post-metadata">

**Author:** ![kellertuer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kellertuer/32/220707_2.png) [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Post date:** [March 18, 2020, 8:33pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/7 "2020-03-18T20:33:01Z")

</div>

Thanks, it’s resolved, its now loading 6.20 and that works fine with Julia 1.0

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [March 18, 2020, 10:48pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/8 "2020-03-18T22:48:40Z")

</div>

Perfect. Good to hear. I am sad Compat isn’t working here, but anyways, we need to drop 1.0 support from the latest releases because there’s starting to be a lot of stuff that v1.0 cannot do. Our v1.0 release should just be a good stable release that doesn’t change.

---

<div class="post-metadata">

**Author:** ![quantiota](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/quantiota/32/46039_2.png) [@quantiota](https://discourse.julialang.org/u/quantiota)\
**Post date:** [March 23, 2020, 2:47pm UTC](https://discourse.julialang.org/t/error-in-using-differentialequations/36012/9 "2020-03-23T14:47:30Z")

</div>

Same issue when installing only DifferentialEquations.  
Solved by installing DataFrames before.
