Reputation: 85
I am unable to initialize a terraform application using CDKTF and Python. I have created a virtual env and initializing it.
https://learn.hashicorp.com/tutorials/terraform/cdktf-build-python?in=terraform/cdktf
Using
cdktf init --template="python-pip" --local
throws an Error:
'which' is not recognized as an internal or external command,
operable program or batch file. Unable to find "pip".
I have added c:\python37\lib\site-packages\pip
and c:\python37\Scripts
to Path as well
Upvotes: 0
Views: 925
Reputation: 11921
Using cdktf init --template="python-pip" --local
should work, if not it's a bug that needs to be solved.
Upvotes: 0