awslabs / awslabs/agentcore-samples
01-tutorials - [Bug] ModuleNotFoundError
- Dominant language
- Python
- Stars
- 3.4k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 30
Description
**In which component is this bug present?**
- [ ] 01-AgentCore-runtime
- [ ] 02-AgentCore-gateway
- [X] 03-AgentCore-identity
- [ ] 04-AgentCore-memory
- [ ] 05-AgentCore-tools
- [ ] 06-AgentCore-observability
- [ ] 07-AgentCore-E2E
If you are reporting multiple bugs, please create a separate issue for each. For documentation improvements, use the documentation improvement issue type.
**Bug Description**
When running the first code cell of the [notebook](https://github.com/awslabs/amazon-bedrock-agentcore-samples/blob/main/01-tutorials/03-AgentCore-identity/05-Outbound_Auth_3lo/runtime_with_strands_and_egress_3lo.ipynb) I get this error
```
ModuleNotFoundError Traceback (most recent call last)
Cell In[4], line 5
3 import subprocess
4 from boto3.session import Session
----> 5 from utils import setup_cognito_user_pool, reauthenticate_user
7 # Get the current notebook's directory
8 current_dir = os.path.dirname(
9 os.path.abspath("__file__" if "__file__" in globals() else ".")
10 )
ModuleNotFoundError: No module named 'utils'
```
**Screenshots**
If applicable, add screenshots to help explain your problem.
```
Please provide screenshots here.
```
Contributor guide
Assessment
This issue has not been assessed yet.