# Error installing Mosek (unable to build)

**URL:** https://discourse.julialang.org/t/error-installing-mosek-unable-to-build/47337
**Category:** Optimization (Mathematical)
**Created:** [September 26, 2020, 8:59pm UTC](https://discourse.julialang.org/t/error-installing-mosek-unable-to-build/47337 "2020-09-26T20:59:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![axw](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/axw/32/18227_2.png) [@axw](https://discourse.julialang.org/u/axw)
#### Post date: [September 26, 2020, 8:59pm UTC](https://discourse.julialang.org/t/error-installing-mosek-unable-to-build/47337/1 "2020-09-26T20:59:48Z")

</div>

Got the license file and put in C:\Users\user\_name\mosek.

Ran pkg add mosek, and looks fine.  
But when I pkg build mosek I get this error. Any ideas?

 ![error2](https://global.discourse-cdn.com/julialang/original/3X/9/0/90496c340e4e256bcb95b9101bdb3176e0a35e56.png)

I see on the mosek site it mentions defining some distro but I’m not sure what this means or if it is explicitly required.  
Thanks!

---

<div class="post-metadata">

### Author: ![axw](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/axw/32/18227_2.png) [@axw](https://discourse.julialang.org/u/axw)
#### Post date: [September 27, 2020, 9:47pm UTC](https://discourse.julialang.org/t/error-installing-mosek-unable-to-build/47337/2 "2020-09-27T21:47:54Z")

</div>

Fixed through PowerShell security flag fix. Mods can safely delete this if needed.
