aws-samples / aws-samples/aws-serverless-saas-layers
Lab1 Step 4 (load_simulator.sh) fails with ModuleNotFoundError: No module named 'requests'
- Dominant language
- JavaScript
- Stars
- 113
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
## Steps to recreate
I'm running this in my own AWS environment and successfully setup Cloud9 (us-east-1) and am getting through Lab1 Step 3 with no issues. The cloud9 environment, stack, and buckets are all up and running to that point.
At Lab1 Step 4 (load_simulator.sh) I get the following error:
Note: 'chmod' command works:
### The command that fails

### The error
Ultimately: **ModuleNotFoundError: No module named 'requests' - in client/order-simulator.py and client/product-simulator.p**

### Troubleshooting to this point
1. I've run `sudo pip install` for 1) requests ("Requirements already satisfied: ...") and 2) pyjwt (no error when run) dependencies — so dependencies seem good. After re-running the load_simulator.sh the same error.
2. I've deleted the bucket and stacks and recreated the situation by using the root readme and lab1 readme instructions.
3. I've done step 2 (above) as well as deleting the Cloud9 instance and restarting from go with the same results. ;-) try'n here.
## The ask
I'd appreciate any support as this is just the reference implementation I was looking (very hard) for.
Thanks,
Matt
Contributor guide
Assessment
This issue has not been assessed yet.