-
Notifications
You must be signed in to change notification settings - Fork 888
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
Permission denied #75
Comments
Try setting the environment variable |
Is there another way to fix the same issue? I do not have access to set an environment variable. |
getting the same issue when deployed a django application with langchain package in IIS using HttpPlatformModule, can anyone let me know how to resolve this? |
If you are using this in a kubernetes environment, you can do the following:
|
You will get this error in a multi-user system. When some other users have already created the cache dir |
I've pushed a change that will swallow the PermissionError in the default case. This will be released in tiktoken 0.5.2 |
I cannot use tiktoken in python:
Input
encoding = tiktoken.get_encoding('cl100k_base')
,it gives the error
PermissionError: [Errno 13] Permission denied: '/tmp/data-gym-cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4.2749b823-646b-45d7-9fcf-11414469d900.tmp'
But I can use it in my colab.
The text was updated successfully, but these errors were encountered: