Similar question as here but now on Python packages. Currently, the CVXPY is missing in Azure ML. I am also trying to get other solvers such as GLPK, CLP and COINMP working
Or just use something like this
import pip
# you can make this install from a local path if needed, and upload the binaries
def install(package):
if hasattr(pip, 'main'):
pip.main(['install', package])
else:
pip._internal.main(['install', package])
if __name__ == '__main__':
try:
import mymodule
except:
install('mymodule')
Installing python module within code