Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

I can't pack a exe with pyinstall #1204

Answered by little-bull
little-bull asked this question in Q&A
Discussion options

You must be logged in to vote

I find the problem :
in tiktoken/registry.py the mod is load by
"plugin_mods = pkgutil.iter_modules(tiktoken_ext.path, tiktoken_ext.name + ".")"
I use "import tiktoken_ext.openai_public as mod" as the mod ,it works.
but I think it is not the most right solution.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by little-bull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant