I have a short code that uses the multiprocessing package and works fine on my local machine.
When I uploaded to AWS Lambda and run there,
You can upgrade and use AWS Lambda runtimes Python 3.7. Works for me!
AWS Lambda supports multiple languages through the use of runtimes. You choose a runtime when you create a function, and you can change runtimes by updating your function's configuration. The underlying execution environment provides additional libraries and environment variables that you can access from your function code.