# Packages with \`\_\_init()\_\_\` screws up PackageCompiler.jl?

**URL:** <https://discourse.julialang.org/t/packages-with-init-screws-up-packagecompiler-jl/112243>\
**Category:** General Usage\
**Tags:** package-compiler\
**Created:** [March 28, 2024, 5:40pm UTC](https://discourse.julialang.org/t/packages-with-init-screws-up-packagecompiler-jl/112243 "2024-03-28T17:40:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![biona001](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/biona001/32/16497_2.png) [@biona001](https://discourse.julialang.org/u/biona001)\
**Post date:** [March 29, 2024, 7:27am UTC](https://discourse.julialang.org/t/packages-with-init-screws-up-packagecompiler-jl/112243/2 "2024-03-29T07:27:28Z")

</div>

I came across [this post](https://discourse.julialang.org/t/zygote-jl-and-packagecompiler-jl/35839) which seem to suggest any package that uses `Requires.@require` cannot be compiled into an app (as of 2020). Then I saw [this issue](https://github.com/JuliaIO/HDF5.jl/pull/891) in 2022 which seems to have fixed this problem, but apparently not for my case.

Ultimately I created my own forks of these packages and commented out all the `Requires.@require` statements (adding/removing dependencies as needed) for my specific application to work.

---

_[View the full topic](https://discourse.julialang.org/t/packages-with-init-screws-up-packagecompiler-jl/112243)._
