c:\tempcode\amazon-textract-a2i-pdf>cdk bootstrap
Traceback (most recent call last):
File "c:\tempcode\amazon-textract-a2i-pdf\app.py", line 23, in
from aws_cdk import core
File "C:\IBM\Python310\lib\site-packages\aws_cdk\core__init.py", line 3298, in
class ConstructNode(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ConstructNode"):
File "C:\IBM\Python310\lib\site-packages\aws_cdk\core\init__.py", line 3332, in ConstructNode
runtime_info: typing.Optional[aws_cdk.cx_api.RuntimeInfo] = None,
AttributeError: module 'aws_cdk.cx_api' has no attribute 'RuntimeInfo'
I am getting the below errors while using the cdk bootstrap command
OS= windows 10 Nodejs= v18.1.0 Pyhton = 3.10.4 aws cdk = 2.24.1
c:\tempcode\amazon-textract-a2i-pdf>cdk bootstrap Traceback (most recent call last): File "c:\tempcode\amazon-textract-a2i-pdf\app.py", line 23, in
from aws_cdk import core
File "C:\IBM\Python310\lib\site-packages\aws_cdk\core__init.py", line 3298, in
class ConstructNode(metaclass=jsii.JSIIMeta, jsii_type="@aws-cdk/core.ConstructNode"):
File "C:\IBM\Python310\lib\site-packages\aws_cdk\core\ init__.py", line 3332, in ConstructNode
runtime_info: typing.Optional[aws_cdk.cx_api.RuntimeInfo] = None,
AttributeError: module 'aws_cdk.cx_api' has no attribute 'RuntimeInfo'