ModuleNotFoundError: No module named 'azure-core'
If you are trying to run a Python code and you get the above Azure error, well the reason for this error is you do not have azure-code package installed on your device.
Fix:
- Open Terminal/Command Prompt.
- Run the below command to install azure-core
pip3 install azure-core
or
pip install azure-core
- Once installed you should see logs like these,
Installing collected packages: azure-core Successfully installed azure-core-1.28.0
Now try to run the Python program again, you should not see this error.
Facing issues? Have Questions? Post them here! I am happy to answer!
Author Info:
Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.
Follow him on: X
You can also reach out to him via e-mail: rakesh@code2care.org
More Posts related to Azure,
More Posts:
- Ways to know the Logged in Username using Terminal [macOS/Linux/Unix] - Linux
- JSON Tutorial: List of Lessons - Json-Tutorial
- How to add sleep in Powershell Script - Powershell
- How to disable Siri on Mac Monterey - MacOS
- PowerShell SubString with Examples - Powershell
- What is CA FE BA BE 00 00 00 3D in Java Class Bytecode - Java
- Fail to connect to camera service Android java RuntimeException - Android
- How to turn off CR LF CRLF in Notepad++ - NotepadPlusPlus