Kiran Mane
Kiran Mane

Reputation: 1

Azure ML Studio Execute Python Script Error - No module named 'azure.cognitiveservices'

I'm getting below error in Azure ML Studio while running 'Execute Python Script' Error - No module named 'azure.cognitiveservices'

its really strange why it can't find azure inside azure?

However the same python script works fine when I run it through Jupyter Notebook

Upvotes: 0

Views: 224

Answers (1)

Satya V
Satya V

Reputation: 4164

The Execute Python Script contains pre-installed packages mentioned in this list.

So in your case the cognitive services is not included - hence the error.

You can install the package by including the below code

import os
os.system(f"pip install <Packagename>")

Upvotes: 1

Related Questions