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

cannot add Images Pkg anymore? #877

Closed
wizebt opened this issue Feb 27, 2020 · 5 comments
Closed

cannot add Images Pkg anymore? #877

wizebt opened this issue Feb 27, 2020 · 5 comments

Comments

@wizebt
Copy link

wizebt commented Feb 27, 2020

From a fresh install of 1.3.1 while adding Images I run into the following issue
Use to run on the same machine
Your guidanace is greatly appreciated

Installed Missings ───────────────────── v0.4.3 Cloning [f5851436-0d7a-5f13-b9de-f02708fd171a] FFTW_jll from https://github.com/JuliaBinaryWrappers/FFTW_jll.jl.git Installed FFTW_jll ───────────────────── v3.3.9+4 Cloning [5789e2e9-d7fb-5bc7-8068-2c6fae9b9549] FileIO from https://github.com/JuliaIO/FileIO.jl.git Installed FileIO ─────────────────────── v1.2.2 ERROR: Unable to automatically install 'IntelOpenMP' from '/home/manu/.julia/packages/IntelOpenMP_jll/hsAKN/Artifacts.toml' Stacktrace: [1] error(::String) at ./error.jl:33 [2] #ensure_artifact_installed#42(::Pkg.BinaryPlatforms.Platform, ::Bool, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:873 [3] (::Pkg.Artifacts.var"#kw##ensure_artifact_installed")(::NamedTuple{(:platform, :verbose),Tuple{Pkg.BinaryPlatforms.Linux,Bool}}, ::typeof(Pkg.Artifacts.ensure_artifact_installed), ::String, ::Dict{String,Any}, ::String) at ./none:0 [4] #ensure_all_artifacts_installed#43(::Pkg.BinaryPlatforms.Platform, ::Nothing, ::Bool, ::Bool, ::typeof(Pkg.Artifacts.ensure_all_artifacts_installed), ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Artifacts.jl:919 [5] #ensure_all_artifacts_installed at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:0 [inlined] [6] #download_artifacts#78(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{String,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:580 [7] #download_artifacts at ./none:0 [inlined] [8] #download_artifacts#73(::Pkg.BinaryPlatforms.Linux, ::Bool, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:570 [9] (::Pkg.Operations.var"#kw##download_artifacts")(::NamedTuple{(:platform,),Tuple{Pkg.BinaryPlatforms.Linux}}, ::typeof(Pkg.Operations.download_artifacts), ::Array{Pkg.Types.PackageSpec,1}) at ./none:0 [10] #add#112(::Bool, ::Pkg.BinaryPlatforms.Linux, ::typeof(Pkg.Operations.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Array{Base.UUID,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/Operations.jl:1017 [11] #add at ./none:0 [inlined] [12] #add#25(::Bool, ::Pkg.BinaryPlatforms.Linux, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.add), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:102 [13] add(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:72 [14] do_add!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:505 [15] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Base.invokelatest), ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:709 [16] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:708 [17] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:412 [18] #do_cmd#23(::Bool, ::typeof(Pkg.REPLMode.do_cmd), ::REPL.LineEditREPL, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:391 [19] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:387 [inlined] [20] (::Pkg.REPLMode.var"#28#31"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/Pkg/src/REPLMode.jl:619 [21] #invokelatest#1 at ./essentials.jl:709 [inlined] [22] invokelatest at ./essentials.jl:708 [inlined] [23] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/LineEdit.jl:2306 [24] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:1045 [25] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:201 [26] (::Base.var"#770#772"{Bool,Bool,Bool,Bool})(::Module) at ./client.jl:382 [27] #invokelatest#1 at ./essentials.jl:709 [inlined] [28] invokelatest at ./essentials.jl:708 [inlined] [29] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:366 [30] exec_options(::Base.JLOptions) at ./client.jl:304 [31] _start() at ./client.jl:460

@timholy
Copy link
Member

timholy commented Feb 27, 2020

Your error is for IntelOpenMP, which AFAIK is not a requirement for anything in JuliaImages. I just tested it on a fresh package depot (start Julia with JULIA_DEPOT_PATH=/tmp/pkgs julia) and it worked fine. My guess is that you have something in your environment that requires IntelOpenMP.

@timholy timholy closed this as completed Feb 27, 2020
@wizebt
Copy link
Author

wizebt commented Feb 27, 2020

Dear Tim,
Can you please help me understand why it is listed below when trying to add Images

(v1.3) pkg> add Images
   Cloning default registries into `~/.julia`
   Cloning registry from "https://github.com/JuliaRegistries/General.git"
     Added registry `General` to `~/.julia/registries/General`
 Resolving package versions...
   Cloning [916415d5-f1e6-5110-898d-aaa5f9f070e0] Images from https://github.com/JuliaImages/Images.jl.git
 Installed Images ─────────────────────── v0.22.0
   Cloning [02fcd773-0e25-5acc-982a-7f6622650795] ImageTransformations from https://github.com/JuliaImages/ImageTransformations.jl.git
 Installed ImageTransformations ───────── v0.8.3
   Cloning [a98d9a8b-a2ab-59e6-89dd-64a1c18fca59] Interpolations from https://github.com/JuliaMath/Interpolations.jl.git
 Installed Interpolations ─────────────── v0.12.5
   Cloning [77ba4419-2d1f-58cd-9bb1-8ffee604a2e3] NaNMath from https://github.com/mlubin/NaNMath.jl.git
 Installed NaNMath ────────────────────── v0.3.3
   Cloning [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] StatsBase from https://github.com/JuliaStats/StatsBase.jl.git
 Installed StatsBase ──────────────────── v0.32.1
   Cloning [c8e1da08-722c-5040-9ed9-7db0dc04731e] IterTools from https://github.com/JuliaCollections/IterTools.jl.git
 Installed IterTools ──────────────────── v1.3.0
   Cloning [5432bcbf-9aad-5242-b902-cca2824c8663] PaddedViews from https://github.com/JuliaArrays/PaddedViews.jl.git
 Installed PaddedViews ────────────────── v0.5.1
   Cloning [b3c3ace0-ae52-54e7-9d0b-2c1406fd6b9d] RangeArrays from https://github.com/JuliaArrays/RangeArrays.jl.git
 Installed RangeArrays ────────────────── v0.3.2
   Cloning [1d5cc7b8-4909-519e-a0f8-d0f5ad9712d0] IntelOpenMP_jll from https://github.com/JuliaBinaryWrappers/IntelOpenMP_jll.jl.git

@timholy
Copy link
Member

timholy commented Feb 27, 2020

Maybe delete your ~/.julia/environments/v1.3 Manifest & Project files?

@Tokazama
Copy link

I've found deleting the manifest and project files usually works but it's a super hacky way to have users handle problems with the package registry. Unfortunately, it's not really JuliaImages specific and we usually can't do anything about it here. It might be good to bring this up elsewhere in the future too (maybe discourse or Julia Slack's help channel). There's probably an issue related to this in Pkg.jl somewhere that you could upvote.

@johnnychen94
Copy link
Member

There's probably an issue related to this in Pkg.jl somewhere that you could upvote.

JuliaLang/Pkg.jl#1683

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

No branches or pull requests

4 participants