Build failed - Error: PythonPipBuilder:ResolveDependencies
See original GitHub issueDescription
Trying to create Python Lambda function from PyCharm not working
Steps to reproduce
Invoke Lambda creation using “Create new AWS Lambda…” Runtime: Python 3.7 requirements.txt: https://pastebin.com/HpU1it63 Run using strict template file: template.yml:
AWSTemplateFormatVersion: '2010-09-09'
Transform: 'AWS::Serverless-2016-10-31'
Description: An AWS Serverless Specification template describing your function.
Resources:
test3:
Type: 'AWS::Serverless::Function'
Properties:
Handler: order.create_order
Runtime: python3.7
CodeUri: .
Description: ''
MemorySize: 128
Timeout: 300
Role: 'arn:aws:iam::123456789:role/service-role/test-role'
VpcConfig:
SecurityGroupIds:
- sg-62e1c42f
SubnetIds:
- subnet-26e9c26e
- subnet-68a3c632
- subnet-b8edb5de
Observed result
Used graphical create, not CLI, error:
Build Failed
Error: PythonPipBuilder:ResolveDependencies - {msgpack-python==0.5.6(sdist), pyrsistent==0.15.7(sdist), simplejson==3.17.0(wheel), pyyaml==5.3(sdist)}
Full log: https://pastebin.com/asgCa9D4
Expected result
Successful build
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
OS: macOS Mojave 10.14.6 SAM: SAM CLI, version 0.43.0 P: Python 3.7.6 IDE: PyCharm 2019.3 AWS: aws-cli/2.0.1 Python/3.7.4 Darwin/18.7.0 botocore/2.0.0dev5 used wheel: wheel 0.34.2 used pip: pip 19.0.3
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:38 (7 by maintainers)
Top Results From Across the Web
aws sam build not able to build packages which require ...
aws sam build not able to build packages which require paramiko due to "Error: PythonPipBuilder:ResolveDependencies" · Ask Question. Asked 3 ...
Read more >Error: PythonPipBuilder:ResolveDependencies - pip ... - GitLab
CI fails with. Error: PythonPipBuilder:ResolveDependencies - pip executable not found in your python environment at /usr/bin/python3.7Docs ...
Read more >Using "sam build" - Build includes non required folders
How can you force 'sam build' commands to not include sub directories such as ... AWS SAM CLI Error: Error: PythonPipBuilder:ResolveDependencies ...
Read more >AWS SAM CLI を使用したLambdaのデプロイ
Build Failed Error: PythonPipBuilder:Validation - Binary validation failed for python, searched for python in following locations ...
Read more >Snowflake Connector for Python - Alteryx Community
Running PythonPipBuilder:ResolveDependencies Build Failed Error: PythonPipBuilder:ResolveDependencies - {snowflake==0.0.3(sdist)} SAM Build ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
got the following error started appearing during
sam build
SAM CLI, version 1.20.0 Python 3.8.7 pip 21.1.2
--use-container
doesn’t solve the problem.This fixed the ResolveDependencies error for me
pip install wheel