While EC2 is ok. On Amazon Lambda I get this error:
Traceback (most recent call last):
File "/var/task/tiktoken/registry.py", line 34, in _find_constructors
constructors = mod.ENCODING_CONSTRUCTORS
AttributeError: module 'tiktoken_ext.pycache' has no attribute 'ENCODING_CONSTRUCTORS'
While EC2 is ok. On Amazon Lambda I get this error: Traceback (most recent call last): File "/var/task/tiktoken/registry.py", line 34, in _find_constructors constructors = mod.ENCODING_CONSTRUCTORS AttributeError: module 'tiktoken_ext.pycache' has no attribute 'ENCODING_CONSTRUCTORS'
Pyhton 3.9. Packaged with Zappa.