# Installing QML.jl

**URL:** https://discourse.julialang.org/t/installing-qml-jl/533
**Category:** General Usage
**Created:** [November 23, 2016, 8:41pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533 "2016-11-23T20:41:17Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![barche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barche/32/79_2.png) [@barche](https://discourse.julialang.org/u/barche)
#### Post date: [November 23, 2016, 8:41pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/1 "2016-11-23T20:41:17Z")

</div>

> [@Julia for GUI app](https://discourse.julialang.org/t/julia-for-gui-app/416/25):
>
> I would like to try Qml.jl but can’t install it on Windows at the moment

@jtravs To my surprise, the new test binaries to prepare for the release worked on my wife’s PC (win10, 64 bit Julia 0.5), following the Readme:

```julia
Pkg.clone("https://github.com/barche/QML.jl.git")
Pkg.build("QML")
Pkg.test("QML")

```

Feel free to test, apart from the GLVisualize example everything should be as in the planned release. A good place to start is example/gui.jl

---

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [November 23, 2016, 9:05pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/2 "2016-11-23T21:05:24Z")

</div>

When I try to update (I even removed it to try again). Don’t understand the complain.

```julia
julia> Pkg.clone("https://github.com/barche/QML.jl.git")
INFO: Cloning QML from https://github.com/barche/QML.jl.git
INFO: Computing changes...
ERROR: fixed packages introduce conflicting requirements for CxxWrap:
         QML requires versions [0.1.8,∞) [none of the available versions can satisfy this requirement]
       available versions are 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6 and 0.1.7
 in check_requirements(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Base.Pkg.Types.Fixed}) at .\pkg\query.jl:191

```

---

<div class="post-metadata">

### Author: ![barche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barche/32/79_2.png) [@barche](https://discourse.julialang.org/u/barche)
#### Post date: [November 23, 2016, 9:12pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/3 "2016-11-23T21:12:20Z")

</div>

> [@Julia for GUI app](https://discourse.julialang.org/t/julia-for-gui-app/416/52):
>
> When I try to update (I even removed it to try again). Don’t understand the complain.

Did you run `Pkg.update()` first? It requires a CxxWrap from 2 days ago.

---

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [November 23, 2016, 9:18pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/4 "2016-11-23T21:18:54Z")

</div>

Yes, ofc. I even removed/reinstalled it.

---

<div class="post-metadata">

### Author: ![jtravs](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jtravs/32/2010_2.png) [@jtravs](https://discourse.julialang.org/u/jtravs)
#### Post date: [November 23, 2016, 9:56pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/5 "2016-11-23T21:56:27Z")

</div>

@barche Excellent. It now works as you say, and has perfect HiDPI rendering. Very happy indeed. Thanks for getting this up and running!

---

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [November 23, 2016, 10:29pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/6 "2016-11-23T22:29:26Z")

</div>

> [@Julia for GUI app](https://discourse.julialang.org/t/julia-for-gui-app/416/53):
>
> > [@Julia for GUI app](https://discourse.julialang.org/t/julia-for-gui-app/416/52):
> >
> > When I try to update (I even removed it to try again). Don’t understand the complain.
> 
> Did you run `Pkg.update()` first? It requires a CxxWrap from 2 days ago.

Unfortunately the packaging system is still very fragile. One problem somewhere propagates to a point where I fear the only solution it nuke all and start over. GLVisualize doesn’t want to work now either. And when I try to remove it … it installs its dependencies.

```julia
julia> Pkg.rm("GLVisualize")
INFO: Cloning cache of GLAbstraction from https://github.com/JuliaGL/GLAbstraction.jl.git
INFO: Cloning cache of GLFW from https://github.com/JuliaGL/GLFW.jl.git
INFO: Cloning cache of GLWindow from https://github.com/JuliaGL/GLWindow.jl.git
INFO: Installing GLAbstraction v0.1.0
INFO: Installing GLFW v1.2.0
INFO: Installing GLWindow v0.1.4
INFO: Building GLFW

```

---

<div class="post-metadata">

### Author: ![barche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/barche/32/79_2.png) [@barche](https://discourse.julialang.org/u/barche)
#### Post date: [November 23, 2016, 10:36pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/7 "2016-11-23T22:36:11Z")

</div>

Hmm, it seems your package metadata is somehow out of sync or out of date, CxxWrap 0.1.8 is definitely in there:

> <https://github.com/JuliaLang/METADATA.jl/blob/91c46d56814d250059e52fb1ae65e373d197c5d8/CxxWrap/versions/0.1.8/sha1>

---

<div class="post-metadata">

### Author: ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)
#### Post date: [November 23, 2016, 11:43pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/8 "2016-11-23T23:43:08Z")

</div>

To nuke it and start over, just copy the `REQUIRE` file from `.julia/v0.5` somewhere else, remove `.julia`, put back the `REQUIRE` file, and do `Pkg.update()`. This will re-install the same packages.

This is actually something I recommend to do from time to time!

---

<div class="post-metadata">

### Author: ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)
#### Post date: [November 24, 2016, 1:14am UTC](https://discourse.julialang.org/t/installing-qml-jl/533/9 "2016-11-24T01:14:21Z")

</div>

Yes, but it would be better not having to do it. And for that it would help if `Pkg.rm()` REALLY removed the package instead of hiding it under .trash & .cache

---

<div class="post-metadata">

### Author: ![Thanh\_nhut\_nhat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thanh_nhut_nhat/32/18796_2.png) [@Thanh\_nhut\_nhat](https://discourse.julialang.org/u/Thanh_nhut_nhat)
#### Post date: [April 9, 2021, 1:00am UTC](https://discourse.julialang.org/t/installing-qml-jl/533/10 "2021-04-09T01:00:03Z")

</div>

help me, I have a problem, I don’t know what is this error? how to fix it? (sorry for any mistakes, I’m not good at english!) ![pic1](https://global.discourse-cdn.com/julialang/original/3X/2/d/2dc6568ff20477607e25c849dc463e9b2031d241.png)

 ![pic2](https://global.discourse-cdn.com/julialang/original/3X/a/5/a5eeda174454c2ebed50bf47987538f2b6d9e1e0.png)

---

<div class="post-metadata">

### Author: ![SleepingCat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sleepingcat/32/32215_2.png) [@SleepingCat](https://discourse.julialang.org/u/SleepingCat)
#### Post date: [December 25, 2021, 12:53pm UTC](https://discourse.julialang.org/t/installing-qml-jl/533/11 "2021-12-25T12:53:49Z")

</div>

Do you have a way to slove it now? I have the same problem as you
