use console to delete the versions and then delete the bucket.
Below I am boto to delete the versions and then the empty bucket.
shaiks@shaikslinux>aws s3 ls s3://
2017-10-11 15:56:55 shaiks3333
2017-10-05 18:55:57 shaiks3334
2017-10-06 03:55:40 thecloudgenie.com
2017-10-05 18:58:51 www.thecloudgenie.com
Here is error message:
shaiks@shaikslinux>aws s3 rb s3://shaiks3333/
remove_bucket failed: s3://shaiks3333/ An error occurred (BucketNotEmpty) when calling the DeleteBucket operation: The bucket you tried to delete is not empty. You must delete all versions in the bucket.