aws-stepfunctions-examples
aws-stepfunctions-examples copied to clipboard
Build error for genai-prompt-chaining-hitl usecase
Hello, thank you for your work on these examples!
I'm trying to deploy the genai-prompt-chaining-hitl usecase to one of my AWS accounts. When I follow the steps in the README, I get the following error:
➜ cdk (main) ✔ cdk deploy --all
Traceback (most recent call last):
File "/...path-to-clone.../aws-stepfunctions-examples/usecases/genai-prompt-chaining-hitl/stack/cdk/app.py", line 5, in <module>
import aws_cdk as cdk
ModuleNotFoundError: No module named 'aws_cdk'
Subprocess exited with error 1
It it possible I need to install/manage some prerequisite libraries before being able to deploy? If so, could you specify which ones and how I can best set them up? Thanks!
Played with this some more... looks like if I create a python venv and install against requirements.txt, I can get CDK to synth/deploy:
cd ../..
python3 -m venv .venv
source .venv/bin/activate
cd stack/cdk
pip3 install -r requirements.txt