Open bitsofinfo opened 3 years ago
Note my serverless python project is using a virtual env
When I don't use a virtual env, then it works
serverless-project-root/
my.venv/
serverless.yml
requirements.txt
If I source my.venv/bin/activate
and serverless offline
the modules are not found
If I am not using the virtual env the modules are found and everything works.
The modules are property installed within the venv
version: 2.1.0
in the root of my project I have
requirements.txt
(that was autogenerated by the template) with the following in itI did a
pip install -r requirements.txt
My function just does an
import dateparser
When I run
serverless offline
I get