Traceback (most recent call last):


 "/rel/third_party/rez/2.4.1/bin/rez/rez-pip", line 4, in <module>

run('pip')


 "/rel/third_party/rez/2.4.1/lib/python2.7/site-packages/rez-2.4.1-py2.7.egg/rez/cli/_main.py", line 117, in run

returncode = run_cmd()


 "/rel/third_party/rez/2.4.1/lib/python2.7/site-packages/rez-2.4.1-py2.7.egg/rez/cli/_main.py", line 109, in run_cmd

return opts.func(opts, opts.parser, arg_groups[1:])


 "/rel/third_party/rez/2.4.1/lib/python2.7/site-packages/rez-2.4.1-py2.7.egg/rez/cli/pip.py", line 46, in command

release=opts.release)


 "/rel/third_party/rez/2.4.1/lib/python2.7/site-packages/rez-2.4.1-py2.7.egg/rez/pip.py", line 262, in pip_install_package

requirements.extend(_get_dependencies(requirement, distributions))


 "/rel/third_party/rez/2.4.1/lib/python2.7/site-packages/rez-2.4.1-py2.7.egg/rez/pip.py", line 74, in _get_dependencies

name = get_distrubution_name(name)


 "/rel/third_party/rez/2.4.1/lib/python2.7/site-packages/rez-2.4.1-py2.7.egg/rez/pip.py", line 47, in get_distrubution_name

pip_to_rez_name = pip_name.lower().replace("-", "_")
AttributeError: 'NoneType' object has no attribute 'lower'

```Traceback (most recent call last):


 "/usr/local/bin/checkov", line 5, in <module>

run()


 "/usr/local/lib/python3.8/site-packages/checkov/main.py", line 79, in run

scan_reports = runner_registry.run(root_folder=root_folder, external_checks_dir=args.external_checks_dir,


 "/usr/local/lib/python3.8/site-packages/checkov/common/runners/runner_registry.py", line 25, in run

scan_report = runner.run(root_folder, external_checks_dir=external_checks_dir, files=files,


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/runner.py", line 50, in run

self.check_tf_definition(report, root_folder, runner_filter)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/runner.py", line 80, in check_tf_definition

definitions_context = parser_registry.enrich_definitions_context(definition)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/context_parsers/registry.py", line 27, in enrich_definitions_context

self.definitions_context[tf_file][definition_type] = context_parser.run(tf_file, definition_blocks)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/context_parsers/base_parser.py", line 109, in run

self.context = self.enrich_definition_block(definition_blocks)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/context_parsers/parsers/locals_context_parser.py", line 25, in enrich_definition_block

self._collect_local_values(locals_block)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/context_parsers/parsers/locals_context_parser.py", line 11, in _collect_local_values

for local_name, local_value in local_block.items():
AttributeError: 'str' object has no attribute 'items'
