rovertoR
Windmill2y ago
2 replies
roverto

Python imports

I am trying to import Azure's DocumentIntelligenceClient with the statement:
from azure.ai.documentintelligence import DocumentIntelligenceClient

but keep getting the error: ModuleNotFoundError: No module named 'azure'

The library is normally installed with pip: pip install azure-ai-documentintelligence and I have included in my script
#extra_requirements
#azure-core==1.30.2
#azure-ai-documentintelligence==1.0.0b3

Is it looking for the azure module because the import statement says from azure.xxxxx import yyy?
How can I import this
Was this page helpful?