I can't pack a exe with pyinstall #1204
-
this is the error " " |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
this is my pack cmd :"pyinstaller -F .\test.py" |
Beta Was this translation helpful? Give feedback.
-
this is my code "
" |
Beta Was this translation helpful? Give feedback.
-
I find the problem : |
Beta Was this translation helpful? Give feedback.
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.