JuliaPro - packages error


#1

Hello,

I’m new in Julia world. I like very much Julia, but I actually feel that I spend more time solving errors (not mines) than learning Julia.

I have using JuliaPro for linux. I have downloaded JuliaPro, I have installed it, and next in Julia REPL I have typed "Pkg.add(“Plots”) to install the metapackage “Plots”, I got the following error:

ERROR: unsatisfiable package requirements detected: no feasible version could be found for package: Optim
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at ./pkg/resolve.jl:37
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:495
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at ./pkg/entry.jl:476
in edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N}) at ./pkg/entry.jl:30
in (::Base.Pkg.Entry.##2#5{String,Base.Pkg.Types.VersionSet})() at ./task.jl:360
in sync_end() at ./task.jl:311
in macro expansion at ./task.jl:327 [inlined]
in add(::String, ::Base.Pkg.Types.VersionSet) at ./pkg/entry.jl:51
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}})() at ./pkg/dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}}, ::String) at ./file.jl:59
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:31
in add(::String) at ./pkg/pkg.jl:100

This is the oputput of Pkg.status():

160 required packages:

  • ASTInterpreter 0.0.4
  • AbstractTrees 0.0.4
  • ArgParse 0.4.0
  • Atom 0.5.9
  • AutoGrad 0.0.5 558a217d (dirty)
  • AutoHashEquals 0.1.1
  • AxisAlgorithms 0.1.6
  • AxisArrays 0.0.3
  • BinDeps 0.4.7 461c08f8 (dirty)
  • Blink 0.5.1
  • Blosc 0.2.0
  • BusinessDays 0.5.0
  • COFF 0.0.2
  • CRC 1.2.0
  • CSV 0.1.2 38a36939 (dirty)
  • Calculus 0.2.0
  • CatIndices 0.0.2
  • CategoricalArrays 0.1.1
  • Clustering 0.7.0
  • CodeTools 0.4.3
  • Codecs 0.2.0
  • ColorTypes 0.3.4
  • ColorVectorSpace 0.4.0
  • Colors 0.7.3 d479df3f (dirty)
  • Combinatorics 0.3.2
  • Compat 0.19.0
  • Compose 0.4.5 2337062a (dirty)
  • ComputationalResources 0.0.2
  • Conda 0.5.1
  • Contour 0.2.0
  • CustomUnitRanges 0.0.4
  • DBAPI 0.0.3
  • DSP 0.1.1 8fb5c7ca (dirty)
  • DWARF 0.1.0
  • DataArrays 0.3.12
  • DataFrames 0.8.5
  • DataStreams 0.1.2
  • DataStructures 0.5.2
  • DecFP 0.1.5
  • DecisionTree 0.5.1
  • DiffBase 0.0.4
  • Distances 0.3.2
  • Distributions 0.12.1
  • DualNumbers 0.2.3
  • ELF 0.1.0
  • FFTViews 0.0.1
  • FileIO 0.3.0
  • FixedPointNumbers 0.3.4 852909e2 (dirty)
  • FixedSizeArrays 0.2.5
  • Formatting 0.2.0
  • ForwardDiff 0.3.4
  • GLM 0.6.1
  • GZip 0.2.20
  • Gadfly 0.5.3 bc5d4e13 (dirty)
  • Gallium 0.0.4 613ab104 (dirty)
  • Graphics 0.1.3
  • HDF5 0.7.3
  • HTTPClient 0.2.1
  • Hexagons 0.0.4
  • Hiccup 0.1.1
  • HttpCommon 0.2.6
  • HttpParser 0.2.0
  • HttpServer 0.1.7
  • HypothesisTests 0.4.0
  • IJulia 1.4.1
  • ImageAxes 0.1.0
  • ImageCore 0.1.4
  • ImageFiltering 0.1.2
  • ImageMetadata 0.2.0
  • Images 0.7.0
  • IndirectArrays 0.1.1
  • Interact 0.4.3
  • Interpolations 0.3.7
  • IntervalSets 0.0.3
  • Iterators 0.3.0
  • JDBC 0.1.0
  • JLD 0.6.9
  • JSON 0.8.3 a145d09f (dirty)
  • JavaCall 0.4.2
  • JuMP 0.15.1 a0b5f0d1 (dirty)
  • JuliaParser 0.7.4 51ec7616 (dirty)
  • JuliaWebAPI 0.2.1
  • Juno 0.2.6
  • KernelDensity 0.3.0
  • Knet 0.8.1 c9556d48 (dirty)
  • LNR 0.0.2
  • LaTeXStrings 0.2.0
  • Lazy 0.11.5
  • LegacyStrings 0.2.0
  • LibCURL 0.2.1
  • LightGraphs 0.7.2
  • LightXML 0.4.0
  • LineSearches 0.1.5
  • Loess 0.1.0
  • Logging 0.3.1
  • MLBase 0.6.1
  • MNIST 0.0.2
  • MXNet 0.2.1 e599d51d (dirty)
  • MachO 0.0.4
  • MacroTools 0.3.4
  • MappedArrays 0.0.6
  • MathProgBase 0.5.10
  • MbedTLS 0.4.3 2ca7a3cb (dirty)
  • Measures 0.0.3
  • Media 0.2.5
  • Mocha 0.2.0 add793ae (dirty)
  • Mustache 0.1.3
  • Mux 0.2.3
  • NaNMath 0.2.2
  • NearestNeighbors 0.1.1
  • Nettle 0.3.0
  • NullableArrays 0.1.0
  • ODBC 0.5.1
  • ObjFileBase 0.0.4
  • OffsetArrays 0.2.14
  • Optim 0.7.7
  • PDMats 0.5.6
  • Parameters 0.6.0 3226946d (dirty)
  • ParserCombinator 1.7.11
  • PolynomialFactors 0.0.3
  • Polynomials 0.1.2
  • PositiveFactorizations 0.0.4
  • Primes 0.1.2
  • ProtoBuf 0.3.2 80eda00c (dirty)
  • PyCall 1.10.0
  • PyPlot 2.3.1 3cbfe1a2 (dirty)
  • QuadGK 0.1.1
  • QuantEcon 0.9.0
  • RCall 0.6.4
  • RangeArrays 0.1.2
  • Ratios 0.0.4
  • Reactive 0.3.7
  • Reexport 0.0.3
  • Requests 0.4.1
  • Requires 0.3.0
  • ReverseDiffSparse 0.6.0
  • Rmath 0.1.6
  • Roots 0.3.0
  • SHA 0.3.1
  • SIUnits 0.1.0
  • ScikitLearnBase 0.2.2
  • ShowItLikeYouBuildIt 0.0.1
  • Showoff 0.0.7
  • SimpleTraits 0.3.0
  • SortingAlgorithms 0.1.0
  • SpecialFunctions 0.1.1
  • StaticArrays 0.3.0
  • StatsBase 0.13.1 cb2668ba (dirty)
  • StatsFuns 0.4.0
  • StructIO 0.0.2
  • TerminalUI 0.0.2
  • TexExtensions 0.0.3
  • TextWrap 0.1.6
  • TiledIteration 0.0.2
  • URIParser 0.1.8 933fbcd2 (dirty)
  • VT100 0.1.0
  • WeakRefStrings 0.2.0
  • WebSockets 0.2.1
  • WoodburyMatrices 0.2.2
  • ZMQ 0.4.1
    3 additional packages:
  • BufferedStreams 0.3.0
  • JunoRun 0.0.0- master (unregistered)
  • Libz 0.2.4

Please, somebody could help me?

Best

Oscar


#2

Might be worth browsing similar posts.

Julia’s still in β… :slight_smile:


#3

I have installed it, and next in Julia REPL I have typed "Pkg.add(“Plots”) to install the metapackage “Plots”,

Do you mean that it was literally the first thing you did?
If so, it’s strange that there are so many dirty packages.


#4

The dirty packages are a bug in the build process for JuliaPro that we should have caught before releasing and will be tracking down and fixing.


#5

Yes, it was literally the first thing that I did after installing JuliaPro


#6

The “no feasible version could be found” errors should be fixed now with the release of JuliaPro 0.5.1.1.


#7

Now JuliaPro has a new issue:


#8

Did https work there before? That’s probably a broader github pages issue, docs.julialang.org has the same problem https://github.com/JuliaLang/julia/issues/21078


#9

Well, if you google juliapro, the top result is to the https page.