You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples for python are overwriting the environment variable for PYTHONPATH. The layers are stored mounted to /opt directory. Python dependencies from layers are mounted to /opt/python. This will result in code failing to import dependencies properly.
I propose updating the run.sh scripts to something like:
The examples for python are overwriting the environment variable for
PYTHONPATH
. The layers are stored mounted to/opt
directory. Python dependencies from layers are mounted to/opt/python
. This will result in code failing to import dependencies properly.I propose updating the
run.sh
scripts to something like:Working example repo here: sansmoraxz/fastapi-layer-zip-example-with-layers
The text was updated successfully, but these errors were encountered: