Closed YangBo17 closed 8 months ago
Are you using Linux?
Are you using Linux?
yes,
Operating System: Manjaro Linux
Kernel: Linux 5.15.131-1-MANJARO
Architecture: x86-64
Can you try to remove any previously installed version of both COPT and COPT.jl and reinstall the COPT.jl from scratch?
and please use one of the latest available Julia versions, either 1.9.x or 1.6.x.
and please use one of the latest available Julia versions, either 1.9.x or 1.6.x.
I have tried reinstall COPT.jl and removed COPT v6.0.3, but it does not work.
I currently use julia 1.7.3, I will try julia 1.9.4.
I am not able to reproduce the issue. My guess is that you still have environment variables or parts of the Julia installation making references to a version of COPT that you installed manually.
My suggestion is to double-check that previous versions of COPT has been completely removed, no environment variables related to COPT are set, and that the .julia folder is removed. Then try to reinstall.
Please try updating to version 7.1.1.
Failed to precompile COPT [227a2e2d-e949-4d8e-a1da-7384fe6f0b9f] to /home/yangbo/.julia/compiled/v1.7/COPT/jl_Az8vt0. ERROR: LoadError: You have installed version 7.0.2 of COPT, which is not supported by COPT.jl. We require at least COPT version 4.0.5.
If you have a newer version of COPT installed, changes may need to be made to the Julia code. Please open an issue at https://github.com/COPT-Public/COPT.jl. Stacktrace: [1] error(s::String) @ Base ./error.jl:33 [2] top-level scope @ ~/.julia/packages/COPT/5apiI/src/COPT.jl:93 [3] include @ ./Base.jl:418 [inlined] [4] 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, UInt64}}, source::Nothing) @ Base ./loading.jl:1318 [5] top-level scope @ none:1 [6] eval @ ./boot.jl:373 [inlined] [7] eval(x::Expr) @ Base.MainInclude ./client.jl:453 [8] top-level scope @ none:1 in expression starting at /home/yangbo/.julia/packages/COPT/5apiI/src/COPT.jl:7