# Using CPLEX in OSX

**URL:** <https://discourse.julialang.org/t/using-cplex-in-osx/15768>\
**Category:** New to Julia\
**Tags:** jump\
**Created:** [October 2, 2018, 1:47am UTC](https://discourse.julialang.org/t/using-cplex-in-osx/15768 "2018-10-02T01:47:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![epereira](https://avatars.discourse-cdn.com/v4/letter/e/da6949/32.png) [@epereira](https://discourse.julialang.org/u/epereira)\
**Post date:** [October 2, 2018, 1:47am UTC](https://discourse.julialang.org/t/using-cplex-in-osx/15768/1 "2018-10-02T01:47:36Z")

</div>

Hello!  
Im new in Julia/JuMP and im trying to make it work with the cplex i have installed in my mac osx  
In [https://jump.readthedocs.io/en/latest/installation.html](https://jump.readthedocs.io/en/latest/installation.html) It says “Special installation steps are required on OS X”

I was wondering where can i find these steps??

I could only find something in this book:  
[http://www.chkwon.net/julia/book/juliabook-preview.pdf](http://www.chkwon.net/julia/book/juliabook-preview.pdf)  
After managed to make the command Pkg.add(“CPLEX”) work, but then the using CPLEX is giving me this error;

> **[Info:** Precompiling CPLEX [a076750e-1247-5638-91d2-ce28b192dca0]  
> **ERROR:** LoadError: syntax: extra token “MathProgBase” after end of expression  
> Stacktrace:  
> [1] **include** at **./boot.jl:317** [inlined]  
> [2] **include\_relative(** ::Module, ::String **)** at **./loading.jl:1038**  
> [3] **include(** ::Module, ::String **)** at **./sysimg.jl:29**  
> [4] top-level scope at **none:2**  
> [5] **eval** at **./boot.jl:319** [inlined]  
> [6] **eval(** ::Expr **)** at **./client.jl:389**  
> [7] top-level scope at **./none:3**
> 
> in expression starting at /Users/MPro/.julia/packages/CPLEX/FUtHu/src/CPLEX.jl:23  
> **ERROR:** Failed to precompile CPLEX [a076750e-1247-5638-91d2-ce28b192dca0] to /Users/MPro/.julia/compiled/v1.0/CPLEX/QpT0w.ji.
> 
> Stacktrace:  
> [1] **error(** ::String **)** at **./error.jl:33**  
> [2] **macro expansion** at **./logging.jl:313** [inlined]  
> [3] **compilecache(** ::Base.PkgId, ::String **)** at **./loading.jl:1184**  
> [4] **macro expansion** at **./logging.jl:311** [inlined]  
> [5] **\_require(** ::Base.PkgId **)** at **./loading.jl:941**  
> [6] **require(** ::Base.PkgId **)** at **./loading.jl:852**  
> [7] **macro expansion** at **./logging.jl:311** [inlined]  
> [8] **require(** ::Module, ::Symbol **)** at **./loading.jl:834**

I run out of ideas how to search for this in google, so any guidance is highly appreciated.

Thanks,  
Eduardo
