# How to input files as command line arguments to compiled Julia

**URL:** <https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633>\
**Category:** General Usage\
**Tags:** question, package, dataframes, csv, package-compiler\
**Created:** [July 14, 2021, 1:43pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633 "2021-07-14T13:43:56Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [July 19, 2021, 7:44pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/21 "2021-07-19T19:44:14Z")

</div>

You might want to try `] dev MyTestPkg` in your default environment. That will make `using MyTestPkg` work there.

---

<div class="post-metadata">

**Author:** ![connormeaton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/connormeaton/32/27120_2.png) [@connormeaton](https://discourse.julialang.org/u/connormeaton)\
**Post date:** [July 19, 2021, 7:59pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/22 "2021-07-19T19:59:32Z")

</div>

Thank you, I added the recommendesd info to my Project.toml file.

I now get this error:

```julia
(MyTestPkg) pkg> st
     Project MyTestPkg v0.1.0
      Status `~/connor/juliaRppgPacakge/.julia/dev/MyTestPkg/Project.toml`
  [336ed68f] CSV v0.8.5
  [a93c6f00] DataFrames v1.2.0
  [9b87118b] PackageCompiler v1.2.7
  [44cfe95a] Pkg

julia> using MyTestPkg
ERROR: ArgumentError: Package MyTestPkg [7b6ef1f2-e27a-4927-afbe-f37c5d2ce363] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

```

II ran `Pkg.instantiate()` and nothing changed.

This is the full Project.toml file:

```julia
name = "MyTestPkg"
uuid = "7b6ef1f2-e27a-4927-afbe-f37c5d2ce363"
authors = ["connor and contributors"]
version = "0.1.0"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
PackageCompiler = "9b87118b-4619-50d2-8e1e-99f35a4d4d9d"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

```

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [July 19, 2021, 8:05pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/23 "2021-07-19T20:05:09Z")

</div>

The `] dev MyTestPkg` step was meant for your default environment not the MyTestPkg environment. For the MyTestPkg environment, just do `] rm MyTestPkg` to remove the confusion.

I’m confused about your setup. What is the output of `Base.load_path()` ?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 19, 2021, 8:12pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/24 "2021-07-19T20:12:42Z")

</div>

With @mkitti we now have two paths to follow. I am not sure if `dev` will help, but you should try and report the outcome, just to be sure.

So, I don’t know exactly how this uuid needs to be.  
So, at this point, and we have moved quite away from the original problem, I would suggest, that we just start from the beginning.  
If you agree, start a new REPL.  
Do the following steps again (and nothing else), I will do the same. I have installed 1.6.2 for this:

```julia
(@v1.6) pkg> add PkgTemplates

julia> using PkgTemplates

julia> t = Template(;user="oheil")

julia> t("MyNewTestPkg")

```

Of course with your personal information.

The last command gives the following output for me:

```julia
julia> t("MyNewTestPkg")
[ Info: Running prehooks
[ Info: Running hooks
  Activating environment at `C:\Users\Oli\.julia\dev\MyNewTestPkg\Project.toml`
    Updating registry at `C:\Users\Oli\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
  No Changes to `C:\Users\Oli\.julia\dev\MyNewTestPkg\Project.toml`
  No Changes to `C:\Users\Oli\.julia\dev\MyNewTestPkg\Manifest.toml`
Precompiling project...
  1 dependency successfully precompiled in 0 seconds
  Activating environment at `C:\Users\Oli\.julia\environments\v1.6\Project.toml`
[ Info: Running posthooks
[ Info: New package is at C:\Users\Oli\.julia\dev\MyNewTestPkg

```

The created `C:\Users\Oli\.julia\dev\MyNewTestPkg\Project.toml` is:

```julia
name = "MyNewTestPkg"
uuid = "b0b1eab8-5069-44c2-ab62-22553fc0f810"
authors = ["oheil <XXX@XXX.XX> and contributors"]
version = "0.1.0"

[compat]
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]

```

How is yours?

---

<div class="post-metadata">

**Author:** ![connormeaton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/connormeaton/32/27120_2.png) [@connormeaton](https://discourse.julialang.org/u/connormeaton)\
**Post date:** [July 19, 2021, 9:06pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/25 "2021-07-19T21:06:37Z")

</div>

Thanks so much. I completed all the steps you suggested.

```julia
(@v1.6) pkg> add PkgTemplates
    Updating registry at `~/.julia/registries/General`
using PkgTemplates Resolving package versions...
  No Changes to `~/.julia/environments/v1.6/Project.toml`
  No Changes to `~/.julia/environments/v1.6/Manifest.toml`

julia> using PkgTemplates

julia> t = Template(;user="connormeaton")
julia> t("MyNewTestPkg")
[ Info: Running prehooks
[ Info: Running hooks
  Activating environment at `~/.julia/dev/MyNewTestPkg/Project.toml`
    Updating registry at `~/.julia/registries/General`
  No Changes to `~/.julia/dev/MyNewTestPkg/Project.toml`
  No Changes to `~/.julia/dev/MyNewTestPkg/Manifest.toml`
Precompiling project...
  1 dependency successfully precompiled in 1 seconds
  Activating environment at `~/.julia/environments/v1.6/Project.toml`
[ Info: Running posthooks
[ Info: New package is at /Users/connor/.julia/dev/MyNewTestPkg

```

Here is my `Project.toml` file:

```julia
name = "MyNewTestPkg"
uuid = "2140c8d5-dde9-453d-9c68-b5c56000c311"
authors = ["Connor Eaton <XXX@XXX.XX> and contributors"]
version = "0.1.0"

[compat]
julia = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]

```

---

<div class="post-metadata">

**Author:** ![connormeaton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/connormeaton/32/27120_2.png) [@connormeaton](https://discourse.julialang.org/u/connormeaton)\
**Post date:** [July 19, 2021, 9:11pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/26 "2021-07-19T21:11:47Z")

</div>

I also have done this, how does this look?

```julia
(@v1.6) pkg> activate /Users/connor/.julia/dev/MyNewTestPkg
  Activating environment at `~/.julia/dev/MyNewTestPkg/Project.toml`

(MyNewTestPkg) pkg> st
     Project MyNewTestPkg v0.1.0
      Status `~/.julia/dev/MyNewTestPkg/Project.toml` (empty project)

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 19, 2021, 9:13pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/27 "2021-07-19T21:13:26Z")

</div>

So far looks perfect.  
Now the next two steps, either in a new REPL or the still open one if you have.  
These are mine:

```julia
julia> pwd()
"C:\\Users\\Oli"

(@v1.6) pkg> activate .julia\\dev\\MyNewTestPkg
  Activating environment at `C:\Users\Oli\.julia\dev\MyNewTestPkg\Project.toml`

julia> using MyNewTestPkg

```

These are yours:

```julia
...

```

great you have done already.  
Looks good.  
Can you now do

```julia
julia> using MyNewTestPkg

```

---

<div class="post-metadata">

**Author:** ![connormeaton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/connormeaton/32/27120_2.png) [@connormeaton](https://discourse.julialang.org/u/connormeaton)\
**Post date:** [July 19, 2021, 9:19pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/28 "2021-07-19T21:19:56Z")

</div>

I’m with you.

```julia
(@v1.6) pkg> activate /Users/connor/.julia/dev/MyNewTestPkg
  Activating environment at `~/.julia/dev/MyNewTestPkg/Project.toml`

julia> using MyNewTestPkg

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 19, 2021, 9:20pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/29 "2021-07-19T21:20:37Z")

</div>

I think we are good now.  
Ok, after activating the environment with

```julia
(@v1.6) pkg> activate /Users/connor/.julia/dev/MyNewTestPkg
  Activating environment at `~/.julia/dev/MyNewTestPkg/Project.toml

```

you can now add the dependencies with

```julia
(MyNewTestPkg) pkg> add DataFrames, CSV

```

---

<div class="post-metadata">

**Author:** ![connormeaton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/connormeaton/32/27120_2.png) [@connormeaton](https://discourse.julialang.org/u/connormeaton)\
**Post date:** [July 19, 2021, 9:21pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/30 "2021-07-19T21:21:57Z")

</div>

Great, I added.

Now with `] st`

```julia
(MyNewTestPkg) pkg> st
     Project MyNewTestPkg v0.1.0
      Status `~/.julia/dev/MyNewTestPkg/Project.toml`
  [336ed68f] CSV v0.8.5
  [a93c6f00] DataFrames v1.2.0

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 19, 2021, 9:22pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/31 "2021-07-19T21:22:28Z")

</div>

If have done this too, and I had to restart the REPL (output told me so). After restart do again:

```julia
(@v1.6) pkg> activate /Users/connor/.julia/dev/MyNewTestPkg
  Activating environment at `~/.julia/dev/MyNewTestPkg/Project.toml

(MyNewTestPkg) pkg> add DataFrames, CSV

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 19, 2021, 9:25pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/32 "2021-07-19T21:25:06Z")

</div>

Than edit the src file MyNewTestPkg.jl which is already created and add your code. It is:

```julia
module MyNewTestPkg

using DataFrames, CSV

function julia_main()
    try
        real_main()
    catch
        Base.invokelatest(Base.display_error, Base.catch_stack())
        return 1
    end
    return 0
end

function real_main()
    for arg in ARGS
        println(arg)
    end
    println("it worked!")

    df = CSV.read(string(ARGS[1]), DataFrame);
    println(df)

    return
end

if abspath(PROGRAM_FILE) == @ __FILE__
    real_main()
end

end

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 19, 2021, 9:37pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/33 "2021-07-19T21:37:28Z")

</div>

When this is done, I assume a fresh REPL, you do:

```julia
(@v1.6) pkg> activate /Users/connor/.julia/dev/MyNewTestPkg
  Activating environment at `~/.julia/dev/MyNewTestPkg/Project.toml`

(MyNewTestPkg) pkg> add PackageCompiler

julia> using PackageCompiler

julia> cd("/Users/connor/.julia/dev/MyNewTestPkg")

julia> using MyNewTestPkg
[Info: Precompiling MyNewTestPkg [b0b1eab8-5069-44c2-ab62-22553fc0f810]

julia> create_app("../MyNewTestPkg", "MyNewTestPkgApp";force=true)

```

The `cd` command is only that the App build folder is created in the project folder. Just a matter of taste.

The command `using MyNewTestPkg` does a precompile, don’t know if it’s needed, but it doesn’t harm.

I am getting the working app with that and hope, that you will do now, too.  
(I am off to bed now, until tomorrow).

---

<div class="post-metadata">

**Author:** ![connormeaton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/connormeaton/32/27120_2.png) [@connormeaton](https://discourse.julialang.org/u/connormeaton)\
**Post date:** [July 19, 2021, 9:37pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/34 "2021-07-19T21:37:55Z")

</div>

Almost there…

```julia
julia> create_app("../MyNewTestPkg", "MyNewTestPkgApp";force=true)
 Downloading artifact: i868-w64-mingw32
┌ Error: Tree Hash Mismatch!
│ Expected git-tree-sha1: <replacing this random string with text in case its sensitive>
│ Calculated git-tree-sha1: <replacing this random string with text in case its sensitive>
└ @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pk Downloaded artifact: i868-w64-mingw32
 Downloading artifact: i868-w64-mingw32
┌ Error: Tree Hash Mismatch!
│ Expected git-tree-sha1: <replacing this random string with text in case its sensitive>
│ Calculated git-tree-sha1: <replacing this random string with text in case its sensitive>
└ @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pk Downloaded artifact: i868-w64-mingw32
ERROR: Unable to automatically install 'i868-w64-mingw32' from '/Users/connor/.julia/packages/PackageCompiler/BjVzm/Artifacts.toml'
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] ensure_artifact_installed(name::String, meta::Dict{String, Any}, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool, io::Base.TTY)
   @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/Artifacts.jl:445
 [3] ensure_artifact_installed(name::String, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, pkg_uuid::Nothing, verbose::Bool, quiet_download::Bool, io::Base.TTY)
   @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/Artifacts.jl:408
 [4] ensure_artifact_installed(name::String, artifacts_toml::String)
   @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/Artifacts.jl:403
 [5] bundle_artifacts(ctx::Pkg.Types.Context, app_dir::String)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/BjVzm/src/PackageCompiler.jl:780
 [6] create_app(package_dir::String, app_dir::String; app_name::Nothing, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, audit::Bool, force::Bool, c_driver_program::String, cpu_target::String)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/BjVzm/src/PackageCompiler.jl:666
 [7] top-level scope
   @ REPL[18]:1

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 20, 2021, 8:01am UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/35 "2021-07-20T08:01:59Z")

</div>

This is … mildly… frustrating…  
I have no idea why this happens now, perhaps @mkitti ?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [July 20, 2021, 8:12am UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/36 "2021-07-20T08:12:04Z")

</div>

The 32 bit mingw compiler was recently added: [https://github.com/JuliaLang/PackageCompiler.jl/pull/516](https://github.com/JuliaLang/PackageCompiler.jl/pull/516). I am not sure why it would fail the tree hash check. cc @davidanthoff

---

<div class="post-metadata">

**Author:** ![connormeaton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/connormeaton/32/27120_2.png) [@connormeaton](https://discourse.julialang.org/u/connormeaton)\
**Post date:** [July 20, 2021, 12:23pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/37 "2021-07-20T12:23:36Z")

</div>

Thanks @oheil @mkitti @kristoffer.carlsson . The help I received thus far has been tremendous! Regarding this error, in case more detail is helpful:

I’m on a `Mac Catalina10.15.6`  
I installed julia via `homebrew`  
This is a totally fresh install of julia.

```julia
julia> versioninfo()
Julia Version 1.6.2
Commit 1b93d53fc4* (2021-07-14 15:36 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.6.0)
  CPU: Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake)

```

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [July 20, 2021, 12:37pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/38 "2021-07-20T12:37:48Z")

</div>

To work around the problem, you should be able to remove PackageCompiler from your `MyNewTestPkgApp` project. It is enough to have it installed in your global environment (v1.6).

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 20, 2021, 12:42pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/39 "2021-07-20T12:42:45Z")

</div>

To be explicit, you may try:

```julia
(@v1.6) pkg> activate /Users/connor/.julia/dev/MyNewTestPkg
  Activating environment at `~/.julia/dev/MyNewTestPkg/Project.toml`

(MyNewTestPkg) pkg> rm PackageCompiler

julia> using PackageCompiler

julia> cd("/Users/connor/.julia/dev/MyNewTestPkg")

julia> create_app("../MyNewTestPkg", "MyNewTestPkgApp";force=true)

```

---

<div class="post-metadata">

**Author:** ![connormeaton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/connormeaton/32/27120_2.png) [@connormeaton](https://discourse.julialang.org/u/connormeaton)\
**Post date:** [July 20, 2021, 2:23pm UTC](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633/40 "2021-07-20T14:23:53Z")

</div>

Thank you @oheil @kristoffer.carlsson

It looks like I never had PackageCompiler installed in the project?

```julia
(@v1.6) pkg> activate /Users/connor/.julia/dev/MyNewTestPkg
  Activating new environment at `/Users/connor/.julia/dev/MyNewTestPkg/Project.toml`

(MyNewTestPkg) pkg> rm PackageCompiler
ERROR: The following package names could not be resolved:
 * PackageCompiler (not found in project or manifest)

julia> using PackageCompiler

julia> pwd()
"/Users/connor/.julia/dev/MyNewTestPkg"

julia> create_app("../MyNewTestPkg", "MyNewTestPkgApp";force=true)
 Downloading artifact: i868-w64-mingw32
┌ Error: Tree Hash Mismatch!
│ Expected git-tree-sha1: <replacing this random string with text in case its sensitive>
│ Calculated git-tree-sha1: <replacing this random string with text in case its sensitive>
└ @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pk Downloaded artifact: i868-w64-mingw32
 Downloading artifact: i868-w64-mingw32
┌ Error: Tree Hash Mismatch!
│ Expected git-tree-sha1: <replacing this random string with text in case its sensitive>
│ Calculated git-tree-sha1: <replacing this random string with text in case its sensitive>
└ @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pk Downloaded artifact: i868-w64-mingw32
ERROR: Unable to automatically install 'i868-w64-mingw32' from '/Users/connor/.julia/packages/PackageCompiler/BjVzm/Artifacts.toml'
Stacktrace:
 [1] error(s::String)
   @ Base ./error.jl:33
 [2] ensure_artifact_installed(name::String, meta::Dict{String, Any}, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool, io::Base.TTY)
   @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/Artifacts.jl:445
 [3] ensure_artifact_installed(name::String, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, pkg_uuid::Nothing, verbose::Bool, quiet_download::Bool, io::Base.TTY)
   @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/Artifacts.jl:408
 [4] ensure_artifact_installed(name::String, artifacts_toml::String)
   @ Pkg.Artifacts /private/tmp/julia-20210715-9083-1kg5j1n/julia-1.6.2/usr/share/julia/stdlib/v1.6/Pkg/src/Artifacts.jl:403
 [5] bundle_artifacts(ctx::Pkg.Types.Context, app_dir::String)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/BjVzm/src/PackageCompiler.jl:780
 [6] create_app(package_dir::String, app_dir::String; app_name::Nothing, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, audit::Bool, force::Bool, c_driver_program::String, cpu_target::String)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/BjVzm/src/PackageCompiler.jl:666
 [7] top-level scope
   @ REPL[35]:1

```

[Previous page](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633.md?page=1)

[Next page](https://discourse.julialang.org/t/how-to-input-files-as-command-line-arguments-to-compiled-julia/64633.md?page=3)
