# I cannot install NLopt

**URL:** https://discourse.julialang.org/t/i-cannot-install-nlopt/9402
**Category:** New to Julia
**Tags:** package
**Created:** [February 28, 2018, 11:33pm UTC](https://discourse.julialang.org/t/i-cannot-install-nlopt/9402 "2018-02-28T23:33:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mwsohn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mwsohn/32/2696_2.png) [@mwsohn](https://discourse.julialang.org/u/mwsohn)
#### Post date: [February 28, 2018, 11:33pm UTC](https://discourse.julialang.org/t/i-cannot-install-nlopt/9402/1 "2018-02-28T23:33:46Z")

</div>

I have trouble installing NLopt package. The error message is shown below. I’d appreciate any help on this.

```julia
Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: Could not create SSL/TLS secure
channel."
At line:1 char:1
+ (new-object net.webclient).DownloadFile("https://github.com/stevengj/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

ERROR: LoadError: failed process: Process(`'C:\Windows\System32\WindowsPowerShell\v1.0\powershell' -NoProfile -Command '(new-object net.webclient).DownloadFile("https://github.com/stevengj/nlopt/releases/download/nlopt-2.4.2/nlopt-2.4.2-dll32.zip", "c:\Users\ms5vs\.julia\v0.6\NLopt\deps\downloads\nlopt-2.4.2-dll32.zip")'`, ProcessExited(1)) [1]

```

---

<div class="post-metadata">

### Author: ![simonbyrne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simonbyrne/32/19_2.png) [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)
#### Post date: [February 28, 2018, 11:53pm UTC](https://discourse.julialang.org/t/i-cannot-install-nlopt/9402/2 "2018-02-28T23:53:40Z")

</div>

You appear to be affected by the GitHub TLS change (see [Errors for Git / Pkg](https://discourse.julialang.org/t/errors-for-git-pkg/9351)). Try running `Pkg.update()` which should install the new BinDeps.jl to fix this issue.

---

<div class="post-metadata">

### Author: ![mwsohn](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mwsohn/32/2696_2.png) [@mwsohn](https://discourse.julialang.org/u/mwsohn)
#### Post date: [March 1, 2018, 12:07am UTC](https://discourse.julialang.org/t/i-cannot-install-nlopt/9402/3 "2018-03-01T00:07:49Z")

</div>

That solved my problem. Thank you.
