generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 466
Closed
Labels
bugSomething isn't workingSomething isn't workingcant-reproduceAny issues that cannot be reproducedAny issues that cannot be reproducedneed-more-informationPending information to continuePending information to continuenot-a-bug
Description
Expected Behaviour
Import will not fail
Current Behaviour
Import is not possible.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "venv/lib/python3.10/site-packages/aws_lambda_powertools/__init__.py", line 7, in <module>
from .logging import Logger
File "venv/lib/python3.10/site-packages/aws_lambda_powertools/logging/__init__.py", line 3, in <module>
from .logger import Logger
File "venv/lib/python3.10/site-packages/aws_lambda_powertools/logging/logger.py", line 26, in <module>
import jmespath
ModuleNotFoundError: No module named 'jmespath'
Code snippet
import aws_lambda_powertoolsPossible Solution
No response
Steps to Reproduce
- Create new venv (I use python 3.8 and python 3.10):
python3 -m venv venv- Activate venv
source venv/bin/activate- Install powertools (tested with 2.9.1)
pip install aws-lambda-powertools==2.9.1- Try to import it in python code:
python -c "import aws_lambda_powertools" AWS Lambda Powertools for Python version
latest
AWS Lambda function runtime
3.8
Packaging format used
PyPi
Debugging logs
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcant-reproduceAny issues that cannot be reproducedAny issues that cannot be reproducedneed-more-informationPending information to continuePending information to continuenot-a-bug