Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error for genai-prompt-chaining-hitl usecase #65

Open
brnkrygs opened this issue Dec 5, 2023 · 1 comment
Open

Build error for genai-prompt-chaining-hitl usecase #65

brnkrygs opened this issue Dec 5, 2023 · 1 comment

Comments

@brnkrygs
Copy link

brnkrygs commented Dec 5, 2023

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!

@brnkrygs
Copy link
Author

brnkrygs commented Dec 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant