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

Can add package in Julia terminal, but not in Juno or Jupyter #1566

Closed
Helveg opened this issue Jun 19, 2018 · 1 comment
Closed

Can add package in Julia terminal, but not in Juno or Jupyter #1566

Helveg opened this issue Jun 19, 2018 · 1 comment

Comments

@Helveg
Copy link

Helveg commented Jun 19, 2018

Hello,

I executed this command succesfully about half a year ago on my Windows 7 machine: Pkg.add("Plots") in the terminal of a Julia installation. Now I wanted to start using an IDE and first tried Atom. To my surprise it turned out it uses a different Julia environment because the Plots package wasn't installed here. When I enter the Pkg.add("Plots") I get the following error:
julia> Pkg.add("Plots") INFO: Cloning cache of PlotThemes from https://github.com/JuliaPlots/PlotThemes.jl.git ERROR: Cannot clone PlotThemes from https://github.com/JuliaPlots/PlotThemes.jl.git. user cancelled certificate check: prefetch(::String, ::String, ::Array{String,1}) at .\pkg\cache.jl:56 resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Av ailable}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{Str ing,VersionNumber}, ::Set{String}) at .\pkg\entry.jl:516 resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Av ailable}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at .\pkg\e ntry.jl:479 edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N} where N) at .\pkg\entry.jl:30 (::Base.Pkg.Entry.##1#3{String,Base.Pkg.Types.VersionSet})() at .\task.jl:335

The same happens when I try to execute it in a Jupyter notebook. I'm not sure if it's Plots related per se but I'd have no idea where else to ask this question. Is this firewall or Windows related? Any suggestion on things I could try?

@Helveg
Copy link
Author

Helveg commented Jun 20, 2018

It was a duplicate of the issue JuliaLang/julia#26167

@Helveg Helveg closed this as completed Jun 20, 2018
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

1 participant