You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description :
When terraform-compliance is installed using pip install method the installation is reported as successful however an error is thrown upon execution of terraform-compliance complaining of inability to import module terrain because of a dependent module '_curses' being missing
Operating system: Windows 10 Enterprise 64-bit
To Reproduce
Ensure that a Windows 10 enterprise 64-bit OS is selected where terraform-compliance has not be installed / used before
Open a command prompt with elevated privilages and execute pip install terraform-compliance
Check that the pip install is successful
Execute terraform-compliance assuming terraform plan output, feature to tests and steps are defined.
The execution fails with the below error:
ERROR: Unable to import module 'terrain' from 'c:\users\username\appdata\local\programs\python\python37-32\lib\site-packages\terraform_compliance\steps\terrain.py': No module named '_curses'
Expected behavior :
The pip installation should check for all dependent modules to be present OR the installation instructions should clearly mention an explicit download of dependencies
Tested versions :
terraform-compliance version (v1.2.8)
terraform version (v0.12.24)
python runtime version, if running as a python package (3.7.3)
Additional context
The problem can be resolved by manually installing the curses module for windows using the following command:
pip install windows-curses
The text was updated successfully, but these errors were encountered:
Description :
When terraform-compliance is installed using pip install method the installation is reported as successful however an error is thrown upon execution of terraform-compliance complaining of inability to import module terrain because of a dependent module '_curses' being missing
Operating system: Windows 10 Enterprise 64-bit
To Reproduce
Ensure that a Windows 10 enterprise 64-bit OS is selected where terraform-compliance has not be installed / used before
Open a command prompt with elevated privilages and execute pip install terraform-compliance
Check that the pip install is successful
Execute terraform-compliance assuming terraform plan output, feature to tests and steps are defined.
The execution fails with the below error:
ERROR: Unable to import module 'terrain' from 'c:\users\username\appdata\local\programs\python\python37-32\lib\site-packages\terraform_compliance\steps\terrain.py': No module named '_curses'
Expected behavior :
The pip installation should check for all dependent modules to be present OR the installation instructions should clearly mention an explicit download of dependencies
Tested versions :
Additional context
The problem can be resolved by manually installing the curses module for windows using the following command:
pip install windows-curses
The text was updated successfully, but these errors were encountered: