cmclaughlin / hashiconf-cdktf-2021

BSD 2-Clause "Simplified" License
9 stars 1 forks source link

`cdk-3.8.2' is not installed in pyenv #1

Open sestegra opened 2 years ago

sestegra commented 2 years ago

An error occurs when launching make init NAME=mystack

❯ make init NAME=mystack
tfenv use 1.0.8
Switching default version to v1.0.8
Default version file overridden by /Users/sestegra/workspace/hashiconf-cdktf-2021/.terraform-version, changing the default version has no effect
Switching completed
pyenv uninstall -f "mystack-cdk-3.8.2"
pyenv virtualenv cdk-3.8.2 "mystack-cdk-3.8.2"
pyenv-virtualenv: `cdk-3.8.2' is not installed in pyenv.
make: *** [init] Error 1
cmclaughlin commented 2 years ago

You'll need to create a Python virtualenv for the demos. The .python-version file in the repo specifies a virtualenv named cdk-3.8.2 and the Makefile is setup to use that.

Sorry, that probably should have been listed in the README