# Error in the precompiling of QuantumOptics package in Julia 1.9.2

**URL:** <https://discourse.julialang.org/t/error-in-the-precompiling-of-quantumoptics-package-in-julia-1-9-2/102181>\
**Category:** General Usage\
**Tags:** question, package, precompilation, dependencies\
**Created:** [July 28, 2023, 4:19am UTC](https://discourse.julialang.org/t/error-in-the-precompiling-of-quantumoptics-package-in-julia-1-9-2/102181 "2023-07-28T04:19:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anil\_Kumar](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Anil\_Kumar](https://discourse.julialang.org/u/Anil_Kumar)\
**Post date:** [July 28, 2023, 4:19am UTC](https://discourse.julialang.org/t/error-in-the-precompiling-of-quantumoptics-package-in-julia-1-9-2/102181/1 "2023-07-28T04:19:05Z")

</div>

I recently install Julia and anaconda in an IMac, but using QuantumOpitics package for a programme gives me an error:  
“[Info: Precompiling QuantumOptics [6e0679c1-51ea-5a7c-ac74-d61b76210b0c]  
ERROR: LoadError: UndefVarError: `TimeDependentSum` not defined”

I tried to reinstall an older version, but in the Jupyter file, it always show 1.9.2. version. Don’t know how to remove it completely.

But working perfectly fine in my personal laptop with Julia 1.8.5.

Does anyone know what could be the issue? Thanks.

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [July 28, 2023, 8:55am UTC](https://discourse.julialang.org/t/error-in-the-precompiling-of-quantumoptics-package-in-julia-1-9-2/102181/2 "2023-07-28T08:55:08Z")

</div>

I can’t reproduce your error - `QuantumOptics` 1.0.13 installed and precompiled just fine for me on Julia 1.9.1 (on Windows, but your error doesn’t look OS specific).

I’m not sure whether you have a question about IJulia as well, but if so that’s probably a separate thread (unless you only see an issue with `QuantumOptics` in IJulia and not in the REPL).

---

<div class="post-metadata">

**Author:** ![Anil\_Kumar](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Anil\_Kumar](https://discourse.julialang.org/u/Anil_Kumar)\
**Post date:** [July 31, 2023, 3:26am UTC](https://discourse.julialang.org/t/error-in-the-precompiling-of-quantumoptics-package-in-julia-1-9-2/102181/3 "2023-07-31T03:26:19Z")

</div>

Thanks @nilshg  
I updated Julia (update of 1.9.2 version) and Jupyter(to its latest version), so it’s working after 3-4 days of installation of those packages. Not sure, what was the issue but I had a pre-compilation error there.
