Thank you for reaching out to us. I understand that you are facing issues while installing numpy module from requirements.txt file.
Looking at the error, I can see that the pip is trying to install packages from libraries.h and failed to locate the header file. This can be seen in the error logs as well:
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
You can try installing the -devel package for python3.7: # yum instal python3-devel
[Similar Errors] [+] https://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory [+] https://askubuntu.com/questions/526304/cannot-compile-python-h-perhaps-you-need-to-install-python-devpython-devel
I sincerely hope this helps. If the suggestions above do not help resolve the issue, we might need to troubleshoot based on your configurations. Could you please create a support case instead so we may discuss details on your resource configurations?
Please do not post any sensitive information over re:Post since this is a public platform.
As always, feel free to reach back with any further questions or concerns in the meantime!
AWS Lambda Layers with Python Packageasked a year ago
Are RDS reserved instances upgradable to a higher version of the same family?asked 7 months ago
AWS ec2 ubuntu 18.04 LTS python upgradeasked 5 months ago
EMR Studio PySpark Kernel uses lowered version of pipasked 7 months ago
EKS: ARM64 nodes fail to become ready due to CNI errorasked a year ago
EMR bootstrap script with pip numpy installation fails on r6+ instancesasked 9 months ago
AWS automatic upgrade PostgreSQL version?asked 7 months ago
passing a numpy array to predict_fn when making inference for xgboost modelasked a year ago
bootstrap failure due to requirement of arm64 version of numpy required for r6 instances?asked 2 months ago
Timeline on availability of db.r6i in Europe/Frankfurtasked 3 months ago