DMCP problems installation on mac in python

I tried to get DMCP running on a mac in python3 with the command

python3 -m pip search dmcp

that did not work. So I tried

python3 -m setup.py install

This gave an error message: … with at the end

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: Setup script exited with error: command ‘gcc’ failed with exit status 1

What do i need to do?

Thanks. Michel;

What you need to do is find a different venue for getting assistance with DMCP.

DMCP is a package built on top of CVXPY. Despite the similarity in name and function, and perhaps a shared heritage, CVXPY is a different program than CVX, which runs under MKATLAB.

I suppose if you have an “issue” with DMCP you can post it at https://github.com/cvxgrp/dmcp/issues .

CVX is based on Disciplined Convex Programming, co-invented by CVX developer Michael Grant and his then advisor Stephen Boyd. DMCP addresses Disciplined Multi-Convex Programming, which can not be handled by CVX, unless you write your own wrapper around CVX calls to solve DCP subproblems in an iterative outer loop.