Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to precompile #589

Open
pollinico opened this issue Nov 24, 2024 · 2 comments
Open

Failed to precompile #589

pollinico opened this issue Nov 24, 2024 · 2 comments

Comments

@pollinico
Copy link

pollinico commented Nov 24, 2024

Julia: 1.11.1+0.x64.w64.mingw32
Gurobi 11.0.3

Failed to precompile Gurobi [2e9cd046-0924-5485-92f1-d5272153d98b] to "C:\\Users\\nicolo\\.julia\\compiled\\v1.11\\Gurobi\\jl_E5F.tmp".
ERROR: LoadError: SystemError: opening file "C:\\Users\\nicolo\\.julia\\packages\\Gurobi\\lpV4m\\deps\\deps.jl": No such file or directory
Stacktrace:
  [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
    @ Base .\error.jl:176
  [2] systemerror
    @ .\error.jl:175 [inlined]
  [3] open(fname::String; lock::Bool, read::Bool, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing)
    @ Base .\iostream.jl:295
  [4] open
    @ .\iostream.jl:277 [inlined]
  [5] open(fname::String, mode::String; lock::Bool)
    @ Base .\iostream.jl:358
  [6] open(fname::String, mode::String)
    @ Base .\iostream.jl:357
  [7] open(::typeof(Base._crc32c), ::String, ::Vararg{String}; kwargs::@Kwargs{})
    @ Base .\io.jl:408
  [8] open
    @ .\io.jl:407 [inlined]
  [9] macro expansion
    @ .\loading.jl:2101 [inlined]
 [10] macro expansion
    @ .\lock.jl:273 [inlined]
 [11] _include_dependency(mod::Module, _path::String; track_content::Bool, path_may_be_dir::Bool)
    @ Base .\loading.jl:2099
 [12] _include_dependency
    @ .\loading.jl:2084 [inlined]
 [13] _include(mapexpr::Function, mod::Module, _path::String)
    @ Base .\loading.jl:2695
 [14] include(mod::Module, _path::String)
    @ Base .\Base.jl:557
 [15] include(x::String)
    @ Gurobi C:\Users\nicolo\.julia\packages\Gurobi\lpV4m\src\Gurobi.jl:7
 [16] top-level scope
    @ C:\Users\nicolo\.julia\packages\Gurobi\lpV4m\src\Gurobi.jl:12
 [17] include
    @ .\Base.jl:557 [inlined]
 [18] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base .\loading.jl:2790
 [19] top-level scope
    @ stdin:5
in expression starting at C:\Users\nicolo\.julia\packages\Gurobi\lpV4m\src\Gurobi.jl:7
in expression starting at stdin:
@joaquimg
Copy link
Member

Can you post the result of

import Pkg
Pkg.build("Gurobi")

@odow
Copy link
Member

odow commented Nov 24, 2024

@pollinico what was the sequence of pkg operations that you did before this? Did you update Gurobi in an existing session?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants