Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiktoken_ext.__pycache__ Issue On Amazone Lambda #169

Open
FarzamHejaziK opened this issue Jul 22, 2023 · 1 comment
Open

tiktoken_ext.__pycache__ Issue On Amazone Lambda #169

FarzamHejaziK opened this issue Jul 22, 2023 · 1 comment

Comments

@FarzamHejaziK
Copy link

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.

@dheerajiiitv
Copy link

raised a PR here #152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants