Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

why it breaks at line 28?

with line 28 uncommented, it throws error below: PythonException: An exception was thrown from the Python worker. Please see the stack trace below. Traceback (most recent call last): File "/op...
  • nilendraFabric's avatar
    1 year ago

    Hello Anonymous 

    The error "ModuleNotFoundError: No module named 'azure.ai'" occurs in a Fabric notebook when the required Azure AI Python package is not installed in the current environment. 


    Install this package either as part of session or in Environment.
    %pip install azure-ai-textanalytics

     


    After installation, verify that the package is installed correctly:


    %pip show azure-ai-textanalytics

    If this is helpful , please accept the answer