# Problem to install StatPlots

**URL:** <https://discourse.julialang.org/t/problem-to-install-statplots/11651>\
**Category:** General Usage\
**Created:** [June 13, 2018, 3:24pm UTC](https://discourse.julialang.org/t/problem-to-install-statplots/11651 "2018-06-13T15:24:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayce\_ram](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jayce_ram/32/3977_2.png) [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Post date:** [June 13, 2018, 3:24pm UTC](https://discourse.julialang.org/t/problem-to-install-statplots/11651/1 "2018-06-13T15:24:05Z")

</div>

I have tried to install the pack StatPlots and I got the following error:

```julia
julia> Pkg.add("StatPlots")
WARNING: PyCall is fixed at 1.16.1 conflicting with top-level requirement: [1.15.0,1.15.0+)
ERROR: fixed packages introduce conflicting requirements for Compat:
         Plotly requires versions [0.7.20,∞)
         PyCall requires versions [0.62.0,∞)
       available versions are 0.0.1, 0.0.2, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.
6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6,
 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4
.12, 0.4.13, 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9,
0.7.10, 0.7.11, 0.7.12, 0.7.13, 0.7.14, 0.7.15, 0.7.16, 0.7.17, 0.7.18, 0.7.19, 0.7.20, 0.8.0, 0.8.1, 0.
8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.10.0, 0.11.0,
 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.22.0,
 0.23.0, 0.24.0, 0.25.0, 0.25.1, 0.25.2, 0.26.0, 0.27.0, 0.28.0, 0.29.0, 0.30.0, 0.31.0, 0.32.0, 0.33.0,
 0.34.0, 0.35.0, 0.36.0, 0.37.0, 0.38.0, 0.39.0, 0.40.0, 0.41.0, 0.42.0, 0.43.0, 0.44.0, 0.45.0, 0.46.0,
 0.47.0, 0.48.0, 0.49.0, 0.50.0, 0.51.0, 0.52.0, 0.53.0, 0.54.0, 0.55.0, 0.55.1, 0.55.2, 0.56.0, 0.57.0,
 0.58.0, 0.59.0, 0.60.0, 0.61.0, 0.62.0, 0.62.1, 0.63.0 and 0.64.0
check_requirements(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.T
ypes.Available}}, ::Dict{String,Base.Pkg.Types.Fixed}) at .\pkg\query.jl:222
resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Availa
ble}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,Vers
ionNumber}, ::Set{String}) at .\pkg\entry.jl:496
resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Availa
ble}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at .\pkg\entry.jl:
479
edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N} where N) a
t .\pkg\entry.jl:30
(::Base.Pkg.Entry.##1#3{String,Base.Pkg.Types.VersionSet})() at .\task.jl:335

```

Then I installed PyCall in order to try to solve this problem :

```julia
julia> Pkg.add("PyCall")
INFO: Package PyCall is already installed
INFO: METADATA is out-of-date — you may not have the latest version of PyCall
INFO: Use `Pkg.update()` to get the latest versions of your packages

```

Then, I applied the command Pkg.update() and the problem is always there:

```julia
julia> Pkg.update()
INFO: Updating METADATA...
INFO: Cloning cache of Plotly from https://github.com/plotly/Plotly.jl.git
INFO: Updating cache of Polynomials...
INFO: Updating cache of Images...
INFO: Updating cache of Media...
INFO: Updating cache of Plots...
INFO: Updating cache of Lazy...
INFO: Updating cache of Requires...
INFO: Updating cache of VersionParsing...
INFO: Updating cache of Blosc...
INFO: Updating cache of MbedTLS...
INFO: Updating cache of Gadfly...
INFO: Updating cache of NNlib...
INFO: Updating cache of Rotations...
INFO: Updating cache of ZMQ...
INFO: Updating cache of StatsBase...
INFO: Updating cache of MacroTools...
INFO: Updating cache of LineSearches...
INFO: Updating cache of WebSockets...
INFO: Updating cache of JuliaDB...
INFO: Updating cache of Rmath...
INFO: Updating cache of Conda...
INFO: Updating cache of WeakRefStrings...
INFO: Updating cache of DataStreams...
INFO: Updating cache of LightGraphs...
INFO: Updating cache of AutoGrad...
INFO: Updating cache of Compose...
INFO: Updating cache of Knet...
INFO: Updating cache of FileIO...
INFO: Updating cache of ImageCore...
INFO: Updating cache of Compat...
INFO: Updating cache of Mux...
INFO: Updating cache of Flux...
INFO: Updating cache of StaticArrays...
INFO: Updating cache of Parameters...
INFO: Updating cache of JuMP...
INFO: Updating cache of Dagger...
INFO: Updating cache of NLSolversBase...
INFO: Updating cache of DataStructures...
INFO: Updating cache of Showoff...
INFO: Updating cache of MemPool...
INFO: Updating cache of OnlineStats...
INFO: Updating cache of BinaryProvider...
INFO: Updating cache of Calculus...
INFO: Updating cache of RCall...
INFO: Updating cache of Reactive...
INFO: Updating cache of CSV...
INFO: Updating cache of Hiccup...
INFO: Updating Plotly master...
INFO: Updating PyCall master...
INFO: Computing changes...
WARNING: PyCall is fixed at 1.16.1 conflicting with top-level requirement: [1.15.0,1.15.0+)
ERROR: fixed packages introduce conflicting requirements for Compat:
         Plotly requires versions [0.7.20,∞)
         PyCall requires versions [0.62.0,∞)
       available versions are 0.0.1, 0.0.2, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.
6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6,
 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4
.12, 0.4.13, 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9,
0.7.10, 0.7.11, 0.7.12, 0.7.13, 0.7.14, 0.7.15, 0.7.16, 0.7.17, 0.7.18, 0.7.19, 0.7.20, 0.8.0, 0.8.1, 0.
8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.10.0, 0.11.0,
 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.18.0, 0.19.0, 0.20.0, 0.21.0, 0.22.0,
 0.23.0, 0.24.0, 0.25.0, 0.25.1, 0.25.2, 0.26.0, 0.27.0, 0.28.0, 0.29.0, 0.30.0, 0.31.0, 0.32.0, 0.33.0,
 0.34.0, 0.35.0, 0.36.0, 0.37.0, 0.38.0, 0.39.0, 0.40.0, 0.41.0, 0.42.0, 0.43.0, 0.44.0, 0.45.0, 0.46.0,
 0.47.0, 0.48.0, 0.49.0, 0.50.0, 0.51.0, 0.52.0, 0.53.0, 0.54.0, 0.55.0, 0.55.1, 0.55.2, 0.56.0, 0.57.0,
 0.58.0, 0.59.0, 0.60.0, 0.61.0, 0.62.0, 0.62.1, 0.63.0, 0.64.0, 0.65.0, 0.65.1, 0.66.0, 0.67.0 and 0.68
.0

```

I have many others packages installed like, DataFrames, JuMP, CSV, so I have no idea the origin of this problem. Anyone could help me?

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [June 13, 2018, 3:36pm UTC](https://discourse.julialang.org/t/problem-to-install-statplots/11651/2 "2018-06-13T15:36:39Z")

</div>

I don’t think this has anything to do with StatPlots, which depends on neither Plotly nor PyCall. Instead you have an issue with conflicting versions of some packages. I guess you’ll have this issue whenever you `Pkg.add` an uninstalled package. Do you have any packages pinned to a version or checket out to master? What is Pkg.status()? And your Julia version?

---

<div class="post-metadata">

**Author:** ![jayce\_ram](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jayce_ram/32/3977_2.png) [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Post date:** [June 13, 2018, 3:47pm UTC](https://discourse.julialang.org/t/problem-to-install-statplots/11651/3 "2018-06-13T15:47:53Z")

</div>

My Pkg.status is the following:

```julia
julia> Pkg.status()
197 required packages:
 - ASTInterpreter2 0.1.1
 - AbstractFFTs 0.3.0
 - Adapt 0.2.0
 - Atom 0.6.10
 - AutoGrad 0.0.10
 - AutoHashEquals 0.2.0
 - AxisAlgorithms 0.2.0
 - AxisArrays 0.2.1
 - BinDeps 0.8.7
 - Blink 0.6.2
 - Blosc 0.3.0
 - BufferedStreams 0.3.3
 - BusinessDays 0.8.2
 - CSV 0.1.5
 - Calculus 0.2.2
 - CatIndices 0.1.0
 - CategoricalArrays 0.1.6
 - Clp 0.4.0
 - Clustering 0.9.1
 - CodeTools 0.5.0
 - CodecZlib 0.4.2
 - Codecs 0.4.0
 - ColorTypes 0.6.7
 - ColorVectorSpace 0.5.2
 - Colors 0.8.2
 - Combinatorics 0.5.0
 - CommonSubexpressions 0.0.1
 - Compat 0.55.1
 - Compose 0.5.5
 - ComputationalResources 0.2.0
 - Conda 0.7.1
 - Contour 0.4.0
 - CoordinateTransformations 0.4.1
 - CoupledFields 0.0.1
 - CustomUnitRanges 0.1.0
 - DBAPI 0.1.0
 - DSP 0.3.4
 - Dagger 0.5.2
 - DataArrays 0.6.2
 - DataFlow 0.3.0
 - DataFrames 0.10.1
 - DataStreams 0.1.3
 - DataStructures 0.7.4
 - DataValues 0.3.3
 - DebuggerFramework 0.1.2
 - DecisionTree 0.6.5
 - DiffEqDiffTools 0.4.0
 - DiffResults 0.0.3
 - DiffRules 0.0.3
 - Distances 0.5.0
 - Distributions 0.15.0
 - DocSeeker 0.1.0
 - DualNumbers 0.3.0
 - ExcelReaders 0.9.0
 - FFTViews 0.1.0
 - FFTW 0.0.4
 - FileIO 0.7.0
 - FixedPointNumbers 0.4.6
 - Flux 0.4.1
 - Formatting 0.3.0
 - ForwardDiff 0.7.3
 - GLM 0.8.1
 - GLPK 0.5.0
 - GZip 0.3.0
 - Gadfly 0.6.5
 - Gallium 0.1.0
 - Glob 1.1.1
 - Graphics 0.2.0
 - HDF5 0.8.8
 - Hexagons 0.1.0
 - Hiccup 0.1.1
 - HttpCommon 0.4.0
 - HttpParser 0.3.1
 - HttpServer 0.3.0
 - HypothesisTests 0.6.0
 - IJulia 1.7.0
 - IdentityRanges 0.1.0
 - ImageAxes 0.4.0
 - ImageCore 0.5.0
 - ImageFiltering 0.2.3
 - ImageMetadata 0.4.0
 - ImageMorphology 0.0.2
 - ImageTransformations 0.4.1
 - Images 0.12.0
 - IndexedTables 0.6.0
 - IndirectArrays 0.3.0
 - Interact 0.6.4
 - Interpolations 0.7.3
 - IntervalSets 0.1.1
 - IterTools 0.2.1
 - IteratorInterfaceExtensions 0.0.2
 - Iterators 0.3.1
 - JDBC 0.2.1
 - JLD 0.8.3
 - JSON 0.17.1
 - JavaCall 0.5.2
 - JuMP 0.18.0
 - JuliaDB 0.7.2
 - JuliaWebAPI 0.3.6
 - Juno 0.4.0
 - KernelDensity 0.4.1
 - Knet 0.9.0
 - LNR 0.0.2
 - LaTeXStrings 0.3.0
 - Lazy 0.12.0
 - LearnBase 0.1.6
 - LegacyStrings 0.3.0
 - LibExpat 0.4.1
 - Libz 0.2.4
 - LightGraphs 0.12.0
 - LightXML 0.6.0
 - LineSearches 3.2.5
 - Loess 0.3.0
 - Logging 0.3.1
 - LossFunctions 0.2.0
 - MLBase 0.7.0
 - MNIST 0.0.2
 - MacroTools 0.4.0
 - MappedArrays 0.0.7
 - MathProgBase 0.7.0
 - MbedTLS 0.5.5
 - Measures 0.1.0
 - Media 0.3.0
 - MemPool 0.0.6
 - Missings 0.2.7
 - Mustache 0.3.1
 - Mux 0.2.3
 - NLSolversBase 4.3.0
 - NLopt 0.3.6
 - NNlib 0.2.3
 - NaNMath 0.3.1
 - NamedArrays 0.7.0
 - NamedTuples 4.0.0
 - NearestNeighbors 0.3.0
 - Nettle 0.3.0
 - NullableArrays 0.1.2
 - Nullables 0.0.3
 - Nulls 0.1.2
 - ODBC 0.5.2
 - OffsetArrays 0.5.0
 - OnlineStats 0.15.4
 - OnlineStatsBase 0.5.1
 - Optim 0.14.0
 - PDMats 0.8.0
 - PaddedViews 0.3.0
 - Parameters 0.8.1
 - ParserCombinator 1.7.11
 - PenaltyFunctions 0.0.2
 - Plots 0.17.0
 - Polynomials 0.2.1
 - PooledArrays 0.1.1
 - PositiveFactorizations 0.1.0
 - Primes 0.2.0
 - ProtoBuf 0.5.0
 - PyCall 1.16.1 master
 - PyPlot 2.3.2
 - QuadGK 0.2.0
 - QuantEcon 0.14.1
 - RCall 0.8.1
 - RangeArrays 0.2.0
 - Ratios 0.2.0
 - Reactive 0.6.0
 - RecipesBase 0.2.3
 - Reexport 0.1.0
 - Requests 0.5.1
 - Requires 0.4.3
 - ReverseDiffSparse 0.8.1
 - Rmath 0.3.2
 - Roots 0.5.0
 - Rotations 0.6.1
 - SHA 0.5.6
 - SIUnits 0.1.0
 - ScikitLearnBase 0.3.0
 - ShowItLikeYouBuildIt 0.2.0
 - Showoff 0.1.1
 - SimpleTraits 0.6.0
 - SortingAlgorithms 0.2.0
 - SpecialFunctions 0.3.8
 - StaticArrays 0.6.6
 - StatsBase 0.20.1
 - StatsFuns 0.5.0
 - StringDistances 0.2.0
 - SweepOperator 0.1.0
 - TableTraits 0.1.0
 - TableTraitsUtils 0.1.3
 - TexExtensions 0.1.0
 - TextParse 0.4.0
 - TiledIteration 0.1.0
 - Tokenize 0.4.2
 - TranscodingStreams 0.4.1
 - URIParser 0.3.0
 - WeakRefStrings 0.2.0
 - WebSockets 0.4.0
 - WinRPM 0.3.1
 - WinReg 0.3.0
 - WoodburyMatrices 0.2.2
 - ZMQ 0.5.1
8 additional packages:
 - BinaryProvider 0.3.0
 - Cbc 0.3.2
 - DecFP 0.4.3
 - GR 0.31.0
 - PlotThemes 0.2.0
 - PlotUtils 0.4.4
 - Plotly 0.1.1+ master
 - VersionParsing 1.1.0

```

I have been using Juno for JuliaPro 0.6.2.2.

> Do you have any packages pinned to a version or checket out to master?

I’m sorry, but I’m beginner about it, but I have not done anything special. I have just installed packages using Pkg.add, the packages that I have are: DataFrames, CSV, JuMP, Plots, DataSctructures, Clp Solver. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [June 13, 2018, 4:07pm UTC](https://discourse.julialang.org/t/problem-to-install-statplots/11651/4 "2018-06-13T16:07:17Z")

</div>

This is the same issue as [Error with NullableArrays when trying to install or remove packages or run Pkg.update() - #6 by Harsha](https://discourse.julialang.org/t/error-with-nullablearrays-when-trying-to-install-or-remove-packages-or-run-pkg-update/11225/6) so hopefully the instructions posted there should help.

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [June 13, 2018, 4:17pm UTC](https://discourse.julialang.org/t/problem-to-install-statplots/11651/5 "2018-06-13T16:17:58Z")

</div>

Try `Pkg.free("Plotly"); Pkg.free("PyCall")`

---

<div class="post-metadata">

**Author:** ![jayce\_ram](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jayce_ram/32/3977_2.png) [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Post date:** [June 19, 2018, 10:32am UTC](https://discourse.julialang.org/t/problem-to-install-statplots/11651/6 "2018-06-19T10:32:20Z")

</div>

Thanks a lot!!It solved completely my problem.
