I have spent many, many hours to try to find out how to create a layer with TA-Lib in AWS Lamda. I'm a newbie using AWS Lambda but I have managed to create layers for pandas etc. using Docker but not for TA-Lib. I'm using Python 3.7. See below:
pip3 install ta-lib -t /layer_dir/python
error: command 'gcc' failed: No such file or directory: 'gcc'
Failed to build ta-lib
ERROR: Could not build wheels for ta-lib, which is required to install pyproject.toml-based projects
Is there an easier way? I just want to be able to use TA-lib. Thanks!