0

Hey I am trying to install dash and jupyter-dash in Azure Machine Learning Studio (New- not classic). I opened terminal and installed them using pip install and they successully were installed upon checking with pip freeze. However when I open notebook I still get error: ModuleNotFoundError.

Is there a way to add those missing libraries that I need in order to run the script in my notebook?

Alex T
  • 3,529
  • 12
  • 56
  • 105

2 Answers2

1

You want to use %pip install package not !pip install package

John Stud
  • 1,506
  • 23
  • 46
0

There are limitations when installing the additional Python packages in Azure ML Studio and therefore the only possible way to add custom python modules, you can zip all packages and modules.

For example, to install cvxpy,

  1. Download wheel of cvpxy and the dependencies.

  2. Decompress the files and package it in in cvpxy path as a zip file including script.

  3. You can then upload the zip as data set.

If you are using IPython, you also can try to install the Python Package via the code !pip install cvxpy.

There are some similar SO threads which may be helpful for you, as below.

Azure ML Python with Script Bundle cannot import module

How to install a Python package from within IPython?

Utkarsh Pal
  • 4,079
  • 1
  • 5
  • 14