# Problems in the Gurobi installation

**URL:** https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630
**Category:** Optimization (Mathematical)
**Created:** [June 9, 2021, 2:53pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630 "2021-06-09T14:53:06Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![angeloaliano1](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)
#### Post date: [June 9, 2021, 2:53pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630/1 "2021-06-09T14:53:06Z")

</div>

Dear all,  
I have the Gurobi software on my computer.  
I want to install the Gurobi package in Julia. I have followed the steps on [GitHub - jump-dev/Gurobi.jl: Julia interface for Gurobi Optimizer](https://github.com/jump-dev/Gurobi.jl)

An error message appears when I try `Pkg.add("Gurobi")`. See below:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/e/7e88fb67f8ac48fcebfaea8a3aa1742424c079b2.png)  
Anyone can help me please?

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [June 9, 2021, 3:25pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630/2 "2021-06-09T15:25:23Z")

</div>

Works for me - can you install any packages?

---

<div class="post-metadata">

### Author: ![angeloaliano1](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)
#### Post date: [June 9, 2021, 3:32pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630/3 "2021-06-09T15:32:16Z")

</div>

Any packages!!!  
Why?

---

<div class="post-metadata">

### Author: ![blegat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/blegat/32/217090_2.png) [@blegat](https://discourse.julialang.org/u/blegat)
#### Post date: [June 9, 2021, 3:42pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630/4 "2021-06-09T15:42:58Z")

</div>

Could you share the output of `versioninfo()` ? Also, does it help if you do `Pkg.update()` ?

---

<div class="post-metadata">

### Author: ![Henrique\_Becker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrique_becker/32/15443_2.png) [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)
#### Post date: [June 9, 2021, 3:48pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630/5 "2021-06-09T15:48:13Z")

</div>

Are you using a custom repository, like JuliaPro?

---

<div class="post-metadata">

### Author: ![angeloaliano1](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)
#### Post date: [June 9, 2021, 3:50pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630/6 "2021-06-09T15:50:02Z")

</div>

yes, JuliaPro.

---

<div class="post-metadata">

### Author: ![Henrique\_Becker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrique_becker/32/15443_2.png) [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)
#### Post date: [June 9, 2021, 3:52pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630/7 "2021-06-09T15:52:06Z")

</div>

JuliaPro is often a source of this kinda of problem. I cannot really think about a situation in which I would recommend using it.

---

<div class="post-metadata">

### Author: ![angeloaliano1](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)
#### Post date: [June 9, 2021, 3:54pm UTC](https://discourse.julialang.org/t/problems-in-the-gurobi-installation/62630/8 "2021-06-09T15:54:52Z")

</div>

The solution was to delete the folder ~.julia.  
Many thanks.
