Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 3b81d8b

Browse files
committed
add a troubleshoot note for extensions
1 parent 3f20745 commit 3b81d8b

File tree

1 file changed

+17
-0
lines changed
  • content/en/user-guide/extensions/managing-extensions

1 file changed

+17
-0
lines changed

content/en/user-guide/extensions/managing-extensions/index.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,3 +198,20 @@ $ tree -L 4
198198
└── tmp
199199
└── state
200200
```
201+
202+
## Troubleshooting
203+
204+
### Fixing `"ModuleNotFoundError: No module named 'flask'"`
205+
206+
After a recent update in our packaging, you may see this error in your logs when starting LocalStack with an Extension:
207+
208+
```bash
209+
ModuleNotFoundError: No module named 'flask'
210+
```
211+
212+
To resolve this, follow these steps:
213+
214+
* Clear the directory mounted to the LocalStack container at `/var/lib/localstack`.
215+
* Pull the `latest` image of LocalStack (`localstack/localstack-pro:latest`).
216+
* Restart the LocalStack container.
217+
* Reinstall any extensions you were using, unless you have `EXTENSION_AUTO_INSTALL` enabled.

0 commit comments

Comments
 (0)