You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT-0
import boto3
import json
import logging
import os
import psycopg2
Sample requirements.txt
aws-psycopg2==1.3.8
The text was updated successfully, but these errors were encountered:
We're getting the following error after upgrading from python 3.8 to python 3.9.
{
"errorMessage": "Unable to import module 'lambda_function': /var/task/psycopg2/_psycopg.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8",
"errorType": "Runtime.ImportModuleError",
"requestId": "REMOVED",
"stackTrace": []
}
Sample lambda function:
Sample requirements.txt
The text was updated successfully, but these errors were encountered: