'Initialize a new CDKTF for Terraform application in Python

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



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source