Skip to content

Import error for pymongo #117

Answered by aclasky
aclasky asked this question in Hello World
Oct 30, 2024 · 6 comments · 3 replies
Discussion options

You must be logged in to vote

Hi all, thank you to both @sgbaird and @SissiFeng for their help. Also, thanks to the poster from #108 who provided insight as well. Glad to hear #132 is being put together. I do think learning the Lambda/API Gateway/MongoDB pipeline was worthwhile and, for what it's worth, I do support keeping this as part of the course. I just wanted to update here for completion's sake since the solution was more involved than expected.

Firstly, since pymongo was added manually, the .zip file had to be reorganized to reflect the proper path in order for the python runtime to access it:

This technically solved the import error I had originally flagged when I opened this discussion.

There was also a mis…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@SissiFeng
Comment options

@sgbaird
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@sgbaird
Comment options

Answer selected by aclasky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants