Azure / Azure/azure-sdk-for-python
MS Fabric notebook fails - cannot import name 'Azure Clouds' from 'azure.core'
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 3.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 193
Description
- **Package Name**: azure.mgmt.datafactory
- **Package Version**: 9.3.0
- **Operating System**: Windows
- **Python Version**: default python version available in Fabric spark cluster
**Describe the bug**
Running Fabric spark notebook to kickoff datafactory pipelines using this library.
**To Reproduce**
Steps to reproduce the behavior:
1. Create pyspark notebook with below in cells
## CELL 1
!pip install azure-mgmt-datafactory -q
## CELL 2
from azure.mgmt.datafactory import DataFactoryManagementClient
**Expected behavior**
Code runs without any error. But it fails with below error
its giving me error
cannot import name 'AzureClouds' from 'azure.core' (/home/trusted-service-user/cluster-env/trident_env/lib/python3.11/site-packages/azure/core/__init__.py)
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.