Closed rkyymmt closed 4 years ago
I have the same error. How did you solve it, please?
I edited the file (/usr/local/lib/python3.7/site-packages/lambda_local/main.py) to import directly from urllib3 package (instead of from botocore.verdored.requests.packages).
However I understand that this is just a workaround, as it will fail again when I update the package (unless the issue is solved for the next version, of course).
Interesting, I am installing it like normal pip packages on Mac - pip install -r requirements.txt
, or just one package from here - https://pypi.org/project/python-lambda-local/
$ python -V
Python 3.7.5
I think you have wrong versions of dependencies, but I am not sure which exactly.
It turned out this issue has been just fixed and merged - https://github.com/HDE/python-lambda-local/pull/55
Let's wait for a few hours/days to get it updated.
python-lambda-local has been updated to 0.1.9 where this issue is fixed.