# Custom Julia system image

**URL:** <https://discourse.julialang.org/t/custom-julia-system-image/94026>\
**Category:** General Usage\
**Tags:** pyjulia\
**Created:** [February 4, 2023, 12:06am UTC](https://discourse.julialang.org/t/custom-julia-system-image/94026 "2023-02-04T00:06:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_M](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/a_m/32/46038_2.png) [@A\_M](https://discourse.julialang.org/u/A_M)\
**Post date:** [February 4, 2023, 12:06am UTC](https://discourse.julialang.org/t/custom-julia-system-image/94026/1 "2023-02-04T00:06:18Z")

</div>

I am trying to create a system image for a specific project (Project.toml) using `python -m julia.sysimage sys.so`

1. How can I enforce those packages to be part of the system image?
2. If the system image has only PyCall and Precompile why do I get this error?

```julia
ERROR: The following 2 direct dependencies failed to precompile:
JuMP [4076af6c-e467-56ae-b986-b466b2749572]
Error: Missing source file for JuMP [4076af6c-e467-56ae-b986-b466b2749572]
MosekTools [1ec41992-ff65-5c91-ac43-2df89e9693a4]
Error: Missing source file for MosekTools [1ec41992-ff65-5c91-ac43-2df89e9693a4]

```
