Solved by philschmid in post #12 
              
              
                You can add a requirements.txt into the code/ and the archive and upload it to s3 and provide it as model_data. This should work. You can use my example to test it. 
Additionally, does the FrameworkModel class have the attribute dependencies, but it looks way more complex to add your dependencies. 

…