Miserlou / Miserlou/lambda-packages
Using mysqldb with lambda and zappa
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 728
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Following to instructions, simple installing this package, or letting zappa install it does not seem to give me mysqldb within my lambda function. I get
[1489527885652] ImportError: No module named MySQLdb
Am i missing something here? I also checked the package zip and it's not in there either. I am running mac though, do i need to run package on an aws machine?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by reproducing the installation on the stated macOS setup, inspect the generated package zip for MySQLdb, and compare it with the Lambda runtime requirements. Done means the packaged dependency is present and imports successfully in the Lambda function.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, mysql, python
- Domain
- build-system, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100