I cannot install NLopt

You appear to be affected by the GitHub TLS change (see Errors for Git / Pkg). Try running Pkg.update() which should install the new BinDeps.jl to fix this issue.