I have installed CVXPY package through Anaconda distribution (on windows)
using – conda install -c conda-forge cvxpy
and when i run the example code of DMCP which has given in https://github.com/cvxgrp/dmcp
To make it short, it means that you lacked some “dependencies” for the libraries you wanted to use. This is a common problem when installing python packages, mainly in windows. Before trying to use any kind of library, first it is suggested to look up whether it needs another library in python “family”.
The solution is to provide the python interpreter with the path-to-your-module/library. The simplest solution is to append that python path to your sys.path list. In your notebook, first try: