Created
September 21, 2022 22:29
-
-
Save rberger/d0989ca7935ffbd452d08850205dc05e to your computer and use it in GitHub Desktop.
SST Start error with poetry python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bf15a1ca-b221-4ab7-8e42-acd3f0d7a1d1 REQUEST rberger-api-handler-MyStack-ApiHandler5E7490E8-80mzoSLcqbxN [api_handler.handler] invoked by API POST /v1/auto/applications | |
Traceback (most recent call last): | |
File "/Users/rberger/work/informed/internal/techno-core/apps/api_handler/node_modules/@serverless-stack/core/src/runtime/shells/bootstrap.py", line 88, in <module> | |
module = import_module(args.handler_module) | |
File "/Users/rberger/.pyenv/versions/3.9.11/lib/python3.9/importlib/__init__.py", line 127, in import_module | |
return _bootstrap._gcd_import(name[level:], package, level) | |
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import | |
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked | |
File "<frozen importlib._bootstrap_external>", line 850, in exec_module | |
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed | |
File "/Users/rberger/work/informed/internal/techno-core/apps/api_handler/./src/api_handler.py", line 2, in <module> | |
import app.controllers.application | |
File "/Users/rberger/work/informed/internal/techno-core/apps/api_handler/src/app/controllers/application.py", line 1, in <module> | |
import app.database.dynamo_db | |
File "/Users/rberger/work/informed/internal/techno-core/apps/api_handler/src/app/database/dynamo_db.py", line 3, in <module> | |
from boto3.dynamodb.conditions import Key | |
ModuleNotFoundError: No module named 'boto3' | |
bf15a1ca-b221-4ab7-8e42-acd3f0d7a1d1 ERROR ModuleNotFoundError: No module named 'boto3' | |
File "/Users/rberger/work/informed/internal/techno-core/apps/api_handler/node_modules/@serverless-stack/core/src/runtime/shells/bootstrap.py", line 88, in <module> | |
module = import_module(args.handler_module) | |
File "/Users/rberger/.pyenv/versions/3.9.11/lib/python3.9/importlib/__init__.py", line 127, in import_module | |
return _bootstrap._gcd_import(name[level:], package, level) | |
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import | |
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked | |
File "<frozen importlib._bootstrap_external>", line 850, in exec_module | |
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed | |
File "/Users/rberger/work/informed/internal/techno-core/apps/api_handler/./src/api_handler.py", line 2, in <module> | |
import app.controllers.application | |
File "/Users/rberger/work/informed/internal/techno-core/apps/api_handler/src/app/controllers/application.py", line 1, in <module> | |
import app.database.dynamo_db | |
File "/Users/rberger/work/informed/internal/techno-core/apps/api_handler/src/app/database/dynamo_db.py", line 3, in <module> | |
from boto3.dynamodb.conditions import Key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment