'cannot import name 'asn1' from 'cryptography.hazmat.bindings._rust' (unknown location)",

Unable to run the lambda even after adding cryptography layer to the lambda layer.

import requests import msal import jwt import cryptography



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source