# Reverting back to avoid precompile errors?

**URL:** <https://discourse.julialang.org/t/reverting-back-to-avoid-precompile-errors/67354>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [August 30, 2021, 1:48pm UTC](https://discourse.julialang.org/t/reverting-back-to-avoid-precompile-errors/67354 "2021-08-30T13:48:07Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [September 1, 2021, 9:07am UTC](https://discourse.julialang.org/t/reverting-back-to-avoid-precompile-errors/67354/21 "2021-09-01T09:07:30Z")

</div>

To be clear, the problem here is as follows:

1. Julia is started and some packages are imported as part of an editing environment (e.g. IJulia, Atom etc.) or from the startup file. These imports happen in some (Julia) environment (possibly the default) with its set of package versions for direct and indirect dependencies.
2. A _different_ environment is activated. This might have different package versions in its manifest than the first environment had because the compat requirements makes it necessary to resolve to a different set of versions.
3. Some package is imported in the new environment. In case this package or one of its dependencies was already loaded in step 1, that will be reused since Julia can only have one version of a given package loaded in the same process. However, if that was of a different version than we wanted to load this time, we won’t have the code we intended and if there were breaking changes between the versions things might, well, break.

> [@magister-ludi](#):
>
> It might be that other packages that require some sort of parsing produce similar results ( `Revise` is one I thought could be a problem, but it isn’t).

Actually `Revise` has very few non-stdlib indirect dependencies but if `Requires` or `OrderedCollections` ever get breaking updates, things might get ugly.

---

_[View the full topic](https://discourse.julialang.org/t/reverting-back-to-avoid-precompile-errors/67354)._
