0

I am running

from azure.data.tables import TableServiceClient

and getting the error below. The package is installed using pip. Running MACOS. why do I get the error?

from azure.data.tables import TableServiceClient
ModuleNotFoundError: No module named 'azure'
Tal_87_il
  • 29
  • 1
  • 7

1 Answers1

0

ModuleNotFoundError: No module named 'azure'

This can cause if you have multiples version of python installed.

Try using pip3 to install module instead of pip possibly pip install libraries in different dictionary than pip3 does.

pip3 install "modulename"  

References:

ModuleNotFoundError: No module named 'xxx'

MacOS, Python: ModuleNotFoundError

RajkumarPalnati
  • 541
  • 2
  • 6