-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.8 - Amazon linux 2 #88
Comments
Hi @dave-graham, as you noted, python 3.8 runtime runs in the new amazonlinux 2 image. this is a brand new image and compiling GDAL on it is quite complex. I don't think this will happens soon sadly |
Cool, thanks for clarifying @vincentsarago |
In case it will be helpful, I got this to work with the For PROJ 7, I added
For GDAL, I removed I moved up the installation of I also added the following lines to
I removed the code for With a few other (unrelated) changes, I was able to use this layer to get GeoDjango running in Lambda (using Zappa) without any errors from GDAL. This was all done through trial and error, though, so there may be problems with this approach that I'm unaware of. But I thought I would post my solution in case it's helpful. |
I see that this is quite an old issue. I am still seeing the same error: |
Hi any solution for this? |
@lhadjchikh Can I have your full code? |
Hi all,
Thanks for this, it's an amazing idea. I tried it with Python 3.8 as the lambda runtime, which runs Amazon linux 2, and kept getting the error:
"No module named '_gdal'
I don't know if this is me missing something, but if it isn't, and it's possible to get it working on Amazon linux 2, that would be amazing.
Thanks again.
The text was updated successfully, but these errors were encountered: