-
Notifications
You must be signed in to change notification settings - Fork 4k
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
aws_cdk: No module named aws_cdk python venv #31888
Comments
@jagdev-singh-PeopleTech Good morning. Thanks for reporting the issue. Could you please check if you followed instructions at Working with the AWS CDK in Python to initialize your Python I was able to run
Did your
Thanks, |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Describe the bug
I am working in this POC
https://aws.amazon.com/blogs/machine-learning/enhance-conversational-ai-with-advanced-routing-techniques-with-amazon-bedrock/.
bedrock-agent-implementation
All previous steps are done successfully, but when trying to run cdk bootstrap
I am getting the below error.
import aws_cdk as cdk ModuleNotFoundError: No module named 'aws_cdk' Subprocess exited with error 1
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
cdk boostrap should not complain about missing module
Current Behavior
import aws_cdk as cdk ModuleNotFoundError: No module named 'aws_cdk' Subprocess exited with error 1
Reproduction Steps
Clone this repo https://github.com/aws-samples/conversational-ai-assistant-multi-route-chain/blob/main/bedrock-agent-implementation/README.md
Ans follow the steps
It will throw error at cdk bootstrap command
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.163.1 (build c14a1ff)
Framework Version
No response
Node.js Version
v20.18.0
OS
Windows 10 Pro
Language
Python
Language Version
Python 3.13.0
Other information
pip list
Package Version
attrs 23.1.0
autopep8 2.0.4
aws-cdk.asset-awscli-v1 2.2.208
aws-cdk.asset-kubectl-v20 2.1.3
aws-cdk.asset-node-proxy-agent-v6 2.1.0
aws-cdk-lib 2.130.0
cattrs 23.1.2
cdk-nag 2.27.209
constructs 10.4.2
importlib-resources 6.1.1
jsii 1.104.0
pip 24.2
publication 0.0.3
pycodestyle 2.11.1
python-dateutil 2.8.2
six 1.16.0
typeguard 2.13.3
typing_extensions 4.8.0
So far I tried the below but didn't helped
The text was updated successfully, but these errors were encountered: