Clp in Julia version 1.2.0

I got the following error when I have tried to install Clp in the environment Julia in Atom:

(v1.2) pkg> add Clp
  Updating registry at `C:\Users\joyce.ramos-araujo\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package
LinQuadOptInterface [f8899e07]:
 LinQuadOptInterface [f8899e07] log:
 ├─possible versions are: [0.1.0, 0.2.0, 0.3.0-0.3.1, 0.4.0-0.4.3, 0.5.0, 0.6.0] or uninstalled
 ├─restricted by julia compatibility requirements to versions: [0.3.0-0.3.1, 0.4.0-0.4.3, 0.5.0, 0.6.0] or uninstalled
 ├─restricted by compatibility requirements with MathOptInterface [b8f27783] to versions: uninstalled
 │ └─MathOptInterface [b8f27783] log:
 │   ├─possible versions are: [0.1.0, 0.2.0, 0.3.0, 0.4.0-0.4.1, 0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.1] or uninstalled
 │   ├─restricted by julia compatibility requirements to versions: [0.5.0-0.5.1, 0.6.0-0.6.4, 0.7.0, 0.8.0-0.8.4, 0.9.0-0.9.1] or uninstalled
 │   └─restricted by compatibility requirements with JuMP [4076af6c] to versions: 0.9.1
 │     └─JuMP [4076af6c] log:
 │       ├─possible versions are: [0.1.1-0.1.2, 0.2.0,
0.3.0-0.3.2, 0.4.0-0.4.1, 0.5.0-0.5.8, 0.6.0-0.6.3, 0.7.0-0.7.4, 0.8.0, 0.9.0-0.9.3, 0.10.0-0.10.3, 0.11.0-0.11.3, 0.12.0-0.12.2, 0.13.0-0.13.2, 0.14.0-0.14.2, 0.15.0-0.15.1, 0.16.0-0.16.2, 0.17.0-0.17.1, 0.18.0-0.18.6,
0.19.0-0.19.2, 0.20.0] or uninstalled
 │       └─restricted to versions 0.20.0 by an explicit requirement, leaving only versions 0.20.0
 └─restricted by compatibility requirements with Clp [e2554f3b] to versions: [0.4.0-0.4.3, 0.6.0] — no versions left
   └─Clp [e2554f3b] log:
     ├─possible versions are: [0.0.5-0.0.10, 0.1.0-0.1.1, 0.2.0-0.2.2, 0.3.0-0.3.1, 0.4.0, 0.5.0-0.5.1, 0.6.0-0.6.2] or uninstalled
     ├─restricted to versions * by an explicit requirement, leaving only versions [0.0.5-0.0.10, 0.1.0-0.1.1,
0.2.0-0.2.2, 0.3.0-0.3.1, 0.4.0, 0.5.0-0.5.1, 0.6.0-0.6.2]
     └─restricted by julia compatibility requirements to versions: [0.5.0-0.5.1, 0.6.0-0.6.2] or uninstalled,
leaving only versions: [0.5.0-0.5.1, 0.6.0-0.6.2]

Anyone knows what it could be?
Thanks in advance.

I believe that Clp is having some compability issues with Julia 1.2.0 or JuMP 0.20. With the latest Julia and JuMP version, I have the exact same issue.

1 Like

Clp has not been updated to the latest JuMP version. Use JuMP 0.19.

3 Likes

I used Pkg.add(PackageSpec(name = “JuMP”, version = “0.19.0”))

2 Likes

I have tried to install JuMP 0.19 as suggested, but I got the following error:

(v1.2) pkg> add “JuMP”, version = “0.19.0”
  Updating registry at `C:\Users\jra\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
    Fetching: [=====>                                   ]  10.5 %    Fetching: [=====>                                   ]  11.0 %    Fetching: [=====>                                   ]  11.5 %    Fetching: [=====>                                   ]  12.0 %    Fetching: [======>                                  ]  12.6 %    Fetching: [======>                                  ]  13.1 %    Fetching: [======>                                  ]  13.6 %    Fetching: [======>                                  ]  14.1 %    Fetching: [======>                                  ]  14.7 %    Fetching: [=======>                                 ]  15.2 %    Fetching: [=======>                                 ]  15.7 %    Fetching: [=======>                                 ]  16.2 %    Fetching: [=======>                                 ]  16.8 %    Fetching: [=======>                                 ]  17.3 %    Fetching: [========>                                ]  17.8 %    Fetching: [========>                                ]  18.3 %    Fetching: [========>                                ]  18.8 %    Fetching: [========>                                ]  19.4 %    Fetching: [========>                                ]  19.9 %    Fetching: [=========>                               ]  20.4 %    Fetching: [=========>                               ]  20.9 %    Fetching: [=========>                               ]  21.5 %    Fetching: [=========>                               ]  22.0 %    Fetching: [==========>                              ]  22.5 %    Fetching: [==========>                              ]  23.0 %    Fetching: [==========>                              ]  23.6 %    Fetching: [==========>                              ]  24.1 %    Fetching: [==========>                              ]  24.6 %    Fetching: [===========>                             ]  25.1 %    Fetching: [===========>                             ]  25.7 %    Fetching: [===========>                             ]  26.2 %    Fetching: [===========>                             ]  26.7 %    Fetching: [===========>                             ]  27.2 %    Fetching: [============>                            ]  27.7 %    Fetching: [============>                            ]  28.3 %    Fetching: [============>                            ]  28.8 %    Fetching: [============>                            ]  29.3 %    Fetching: [============>                            ]  29.8 %    Fetching: [=============>                           ]  30.4 %    Fetching: [=============>                           ]  30.9 %    Fetching: [=============>                           ]  31.4 %    Fetching: [=============>                           ]  31.9 %    Fetching: [=============>                           ]  32.5 %    Fetching: [==============>                          ]  33.0 %    Fetching: [==============>                          ]  33.5 %    Fetching: [==============>                          ]  34.0 %    Fetching: [==============>                          ]  34.6 %    Fetching: [===============>                         ]  35.1 %    Fetching: [===============>                         ]  35.6 %    Fetching: [===============>                         ]  36.1 %    Fetching: [===============>                         ]  36.6 %    Fetching: [===============>                         ]  37.2 %    Fetching: [================>                        ]  37.7 %    Fetching: [================>                        ]  38.2 %    Fetching: [================>                        ]  38.7 %    Fetching: [================>                        ]  39.3 %    Fetching: [================>                        ]  39.8 %    Fetching: [=================>                       ]  40.3 %    Fetching: [=================>                       ]  40.8 %    Fetching: [=================>                       ]  41.4 %    Fetching: [=================>                       ]  41.9 %    Fetching: [=================>                       ]  42.4 %    Fetching: [==================>                      ]  42.9 %    Fetching: [==================>                      ]  43.5 %    Fetching: [==================>                      ]  44.0 %    Fetching: [==================>                      ]  44.5 %    Fetching: [===================>                     ]  45.0 %    Fetching: [===================>                     ]  45.5 %    Fetching: [===================>                     ]  46.1 %    Fetching: [===================>                     ]  46.6 %    Fetching: [===================>                     ]  47.1 %    Fetching: [====================>                    ]  47.6 %    Fetching: [====================>                    ]  48.2 %    Fetching: [====================>                    ]  48.7 %    Fetching: [====================>                    ]  49.2 %    Fetching: [====================>                    ]  49.7 %    Fetching: [=====================>                   ]  50.3 %    Fetching: [=====================>                   ]  50.8 %    Fetching: [=====================>                   ]  51.3 %    Fetching: [=====================>                   ]  51.8 %    Fetching: [=====================>                   ]  52.4 %    Fetching: [======================>                  ]  52.9 %    Fetching: [======================>                  ]  53.4 %    Fetching: [======================>                  ]  53.9 %    Fetching: [======================>                  ]  54.5 %    Fetching: [======================>                  ]  55.0 %    Fetching: [=======================>                 ]  55.5 %    Fetching: [=======================>                 ]  56.0 %    Fetching: [=======================>                 ]  56.5 %    Fetching: [=======================>                 ]  57.1 %    Fetching: [========================>                ]  57.6 %    Fetching: [========================>                ]  58.1 %    Fetching: [========================>                ]  58.6 %    Fetching: [========================>                ]  59.2 %    Fetching: [========================>                ]  59.7 %    Fetching: [=========================>               ]  60.2 %    Fetching: [=========================>               ]  60.7 %    Fetching: [=========================>               ]  61.3 %    Fetching: [=========================>               ]  61.8 %    Fetching: [=========================>               ]  62.3 %    Fetching: [==========================>              ]  62.8 %    Fetching: [==========================>              ]  63.4 %    Fetching: [==========================>              ]  63.9 %    Fetching: [==========================>              ]  64.4 %    Fetching: [==========================>              ]  64.9 %    Fetching: [===========================>             ]  65.4 %    Fetching: [===========================>             ]  66.0 %    Fetching: [===========================>             ]  66.5 %    Fetching: [===========================>             ]  67.0 %    Fetching: [============================>            ]  67.5 %    Fetching: [============================>            ]  68.1 %    Fetching: [============================>            ]  68.6 %    Fetching: [============================>            ]  69.1 %    Fetching: [============================>            ]  69.6 %    Fetching: [=============================>           ]  70.2 %    Fetching: [=============================>           ]  70.7 %    Fetching: [=============================>           ]  71.2 %    Fetching: [=============================>           ]  71.7 %    Fetching: [=============================>           ]  72.3 %    Fetching: [==============================>          ]  72.8 %    Fetching: [==============================>          ]  73.3 %    Fetching: [==============================>          ]  73.8 %    Fetching: [==============================>          ]  74.3 %    Fetching: [==============================>          ]  74.9 %    Fetching: [===============================>         ]  75.4 %    Fetching: [===============================>         ]  75.9 %    Fetching: [===============================>         ]  76.4 %    Fetching: [===============================>         ]  77.0 %    Fetching: [===============================>         ]  77.5 %    Fetching: [================================>        ]  78.0 %    Fetching: [================================>        ]  78.5 %    Fetching: [================================>        ]  79.1 %    Fetching: [================================>        ]  79.6 %    Fetching: [=================================>       ]  80.1 %    Fetching: [=================================>       ]  80.6 %    Fetching: [=================================>       ]  81.2 %    Fetching: [=================================>       ]  81.7 %    Fetching: [=================================>       ]  82.2 %    Fetching: [==================================>      ]  82.7 %    Fetching: [==================================>      ]  83.2 %    Fetching: [==================================>      ]  83.8 %    Fetching: [==================================>      ]  84.3 %    Fetching: [==================================>      ]  84.8 %    Fetching: [===================================>     ]  85.3 %    Fetching: [===================================>     ]  85.9 %    Fetching: [===================================>     ]  86.4 %    Fetching: [===================================>     ]  86.9 %    Fetching: [===================================>     ]  87.4 %    Fetching: [====================================>    ]  88.0 %    Fetching: [====================================>    ]  88.5 %    Fetching: [====================================>    ]  89.0 %    Fetching: [====================================>    ]  89.5 %    Fetching: [=====================================>   ]  90.1 %    Fetching: [=====================================>   ]  90.6 %    Fetching: [=====================================>   ]  91.1 %    Fetching: [=====================================>   ]  91.6 %    Fetching: [=====================================>   ]  92.1 %    Fetching: [======================================>  ]  92.7 %    Fetching: [======================================>  ]  93.2 %    Fetching: [======================================>  ]  93.7 %    Fetching: [======================================>  ]  94.2 %    Fetching: [======================================>  ]  94.8 %    Fetching: [=======================================> ]  95.3 %    Fetching: [=======================================> ]  95.8 %    Fetching: [=======================================> ]  96.3 %    Fetching: [=======================================> ]  96.9 %    Fetching: [=======================================> ]  97.4 %    Fetching: [========================================>]  97.9 %    Fetching: [========================================>]  98.4 %    Fetching: [========================================>]  99.0 %    Fetching: [========================================>]  99.5 %    Fetching: [========================================>]  100.0
   Cloning git-repo `“JuMP”,`
ERROR: failed to clone from “JuMP”,, error: GitError(Code:ERROR,
Class:Net, unsupported URL protocol)

Anyone got the same problem or have an idea about this?
#UPDATE: the solution for this problem it is in this discussion :