I wrote a AWS lambda function and got this error:
"errorMessage": "Unable to import module 'lambda_function': No module named 'joblib'",
I imported joblib
in the header of my lambda_function.py
file:
import boto3
import joblib
from sklearn.feature_extraction.text import TfidfVectorizer
from sklearn.pipeline import Pipeline
from sklearn.compose import ColumnTransformer
import io
from io import BytesIO
import pandas as pd
import awswrangler as wr
Anyway around this error?