# Can't compile DiffEqParamEstim

**URL:** https://discourse.julialang.org/t/cant-compile-diffeqparamestim/45004
**Category:** New to Julia
**Tags:** question
**Created:** [August 15, 2020, 5:26pm UTC](https://discourse.julialang.org/t/cant-compile-diffeqparamestim/45004 "2020-08-15T17:26:02Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sanji\_Vinsmoke](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sanji_vinsmoke/32/9015_2.png) [@Sanji\_Vinsmoke](https://discourse.julialang.org/u/Sanji_Vinsmoke)
#### Post date: [August 15, 2020, 5:26pm UTC](https://discourse.julialang.org/t/cant-compile-diffeqparamestim/45004/1 "2020-08-15T17:26:03Z")

</div>

Hi,  
I can’t compile DiffEqParamEstim in my PC.  
when I typed `using DiffEqParamEsitm` for the first time, I got

> [Info: Precompiling DiffEqParamEstim [1130ab10-4a5a-5621-a13d-e4788d82bd4c]  
> WARNING: could not import LearnBase.addgrad! into PenaltyFunctions  
> WARNING: could not import LearnBase.scaled into PenaltyFunctions

and then it was stuck.

I am using `julia version 1.5.0`

How can this be fixed?

---

<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: [August 15, 2020, 6:11pm UTC](https://discourse.julialang.org/t/cant-compile-diffeqparamestim/45004/2 "2020-08-15T18:11:46Z")

</div>

What do you mean it was stuck? It looks like it’s just precompiling the whole software stack which, as a big chunk of software, might take a minute or a few.

---

<div class="post-metadata">

### Author: ![Sanji\_Vinsmoke](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sanji_vinsmoke/32/9015_2.png) [@Sanji\_Vinsmoke](https://discourse.julialang.org/u/Sanji_Vinsmoke)
#### Post date: [August 15, 2020, 6:44pm UTC](https://discourse.julialang.org/t/cant-compile-diffeqparamestim/45004/3 "2020-08-15T18:44:24Z")

</div>

I waited for like 10-15 mins.  
Also, are the warnings harmful to hinder the working of the package?

---

<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: [August 15, 2020, 9:59pm UTC](https://discourse.julialang.org/t/cant-compile-diffeqparamestim/45004/5 "2020-08-15T21:59:57Z")

</div>

Good to hear it finally compiled. However, in general, note that this is somewhat deprecated in favor of DiffEqFlux.jl:

[https://diffeqflux.sciml.ai/dev/](https://diffeqflux.sciml.ai/dev/)

Which is a much more powerful and flexible parameter estimation system, so I’d recommend moving to that. I’ll have to get the docs updated sometime.
