Fix: ModuleNotFoundError: No module named azure-core


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:

  1. Open Terminal/Command Prompt.
  2. Run the below command to install azure-core
    pip3 install azure-core

    or

    pip install azure-core
  3. Once installed you should see logs like these,
    Installing collected packages: azure-core
    Successfully installed azure-core-1.28.0
Install Azure-Core Python Package using PIP3

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: Rakesh
Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X





























Copyright © Code2care 2023 | Privacy Policy | About Us | Contact Us | Sitemap