Error Installing cvx on Mac

I ran the first two lines below and the output is the following code. How do I fix this?

cd ~/Desktop/MATLAB/cvx
cvx_setup


CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.2, Build 1148 (62bfcca) Tue Jan 28 00:51:35 2020

Installation info:
Path: /Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx
MATLAB version: 9.11 (R2021b)
OS: Mac OS X x86_64 version 10.15.6
Java version: 1.8.0_202
Verfying CVX directory contents:
WARNING: The following files/directories are missing:
/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/examples/ + 505 files, 30 subdirectories
/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/gurobi/a64/ + 3 files, 0 subdirectories
/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/mosek/a64/ + 2 files, 0 subdirectories
These omissions may prevent CVX from operating properly.
Preferences:
Path: /Users/eazeller/Library/Application Support/MathWorks/MATLAB/cvx_prefs.mat
License host:
Username: eazeller
Host ID: 147dda2fb591 (en0,10.76.101.76)
Installed license:
No license installed.
No valid licenses found.
Click here to fill out an academic license request
for the username and first hostid listed above.

Setting CVX paths…already set!
Searching for solvers…5 shims found.
5 solvers skipped:
GLPK
Could not find a GLPK installation.
Gurobi unknown {cvx}/gurobi/maci64
Invalid MEX-file
‘/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/gurobi/maci64/gurobi.mexmaci64’:
dlopen(/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/gurobi/maci64/gurobi.mexmaci64,
6): no suitable image found. Did find:
/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/gurobi/maci64/gurobi.mexmaci64:
code signature in
(/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/gurobi/maci64/gurobi.mexmaci64)
not valid for use in process using Library Validation:
library load disallowed by system policy
Mosek unknown {cvx}/mosek/maci64
Unexpected MEX file failure:
Invalid MEX-file
‘/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/mosek/maci64/mosekopt.mexmaci64’:
dlopen(/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/mosek/maci64/mosekopt.mexmaci64,
6): no suitable image found. Did find:
/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/mosek/maci64/mosekopt.mexmaci64:
code signature in
(/Users/eazeller/Dropbox/Mac/Desktop/MATLAB/cvx/mosek/maci64/mosekopt.mexmaci64)
not valid for use in process using Library Validation:
library load disallowed by system policy
SDPT3
Could not find a SDPT3 installation.
SeDuMi
Could not find a SeDuMi installation.
No valid solvers were found. This suggests a corrupt installation. Please
try re-installing the files and re-running cvx_setup. If the same error
occurs, please contact CVX support.
Please report this error to support, and include entire output of
CVX_SETUP in your support request.

See if this helps. I’m not a Mac person, so can’t offer any assistance beyond the link.

It is the MACOS overprotective security. You should remove the quarantaine or go into system settings and allow loading those libraries.

Here are instructions that worked for me. https://themosekblog.blogspot.com/2019/12/macos-1015-catalina-mosek-installation.html

Others have put other instructions in many threads on this forum. Look for similar topics.

Whoops, I forgot to paste in the link. Here is the link to those other links on this forum. I tried to run cvx for matlab 2022 on mac system, but I have this ERROR, could you please help for this :

Between the links in this link, and the link provided by @Michal_Adamaszek , hopefully you can resolve your issue.