Jul-21-2019, 10:42 PM
I am trying to use the AWS Utils library and can't get past the import process. I have installed the aws_utils library and when I run pip list it shows it has loaded.
PS C:\Users\> pip list
Package Version
------------------------------------- ---------
adal 1.2.2
asn1crypto 0.24.0
aws-utils 0.1
However, the moment I attempt to import the library i get the results below. What am I doing wrong? I'm running Windows 10 Professional.
>>> import aws_utils
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\site-packages\aws_utils\__init__.py", line 4, in <module>
from .sqs_consumer import SQSConsumer # noqa
File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\site-packages\aws_utils\sqs_consumer.py", line 4, in <module>
from .exceptions import MissingQueueError
ImportError: cannot import name 'MissingQueueError' from 'aws_utils.exceptions' (C:\Users\username\AppData\Local\Programs\Python\Python37\lib\site-packages\aws_utils\exceptions.py)
sqs-consumer is also loaded according to the pip listing.
PS C:\Users\> pip list
Package Version
------------------------------------- ---------
adal 1.2.2
asn1crypto 0.24.0
aws-utils 0.1
However, the moment I attempt to import the library i get the results below. What am I doing wrong? I'm running Windows 10 Professional.

>>> import aws_utils
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\site-packages\aws_utils\__init__.py", line 4, in <module>
from .sqs_consumer import SQSConsumer # noqa
File "C:\Users\username\AppData\Local\Programs\Python\Python37\lib\site-packages\aws_utils\sqs_consumer.py", line 4, in <module>
from .exceptions import MissingQueueError
ImportError: cannot import name 'MissingQueueError' from 'aws_utils.exceptions' (C:\Users\username\AppData\Local\Programs\Python\Python37\lib\site-packages\aws_utils\exceptions.py)
sqs-consumer is also loaded according to the pip listing.