I have deployed an AWS lambda which contains:
import json import boto3 import cfnresponse import urllib.request from botocore.exceptions import ClientError
Cfnresponse is just available in lambda by default with python 2.7. Probably you are using 3.6.