File not found Version #3845
Replies: 1 comment
-
Instead of using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a
FLET
project that utilizes theTTS
module and packing it withpyinstaller
, sinceflet build
doest not supporttokenizer
yet. And I've encountered an issue related to the version information. My last attempt involved importing the VERSION within the same script where TTS is imported. Specifically:from TTS import __version__
Already tried to use
--colletct-all
and--hidden-import
in my .spec file:datas = [('venv/Lib/site-packages/TTS/VERSION', 'TTS'),],
But still getting the same error, about the VERSION file being not found in the temp folder.
error:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\xyz\\AppData\\Local\\Temp\\_MEI22602\\trainer\\VERSION' [7532] Failed to execute script 'main' due to unhandled exception! [7532] LOADER: ERROR. File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "TTS\config\__init__.py", line 10, in <module> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "TTS\config\shared_configs.py", line 5, in <module> File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module File "trainer\__init__.py", line 6, in <module> FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\kaique\\AppData\\Local\\Temp\\_MEI22602\\trainer\\VERSION'
However, I am still facing challenges and would appreciate any guidance or assistance you can provide.
Thank you for your time and support.
Beta Was this translation helpful? Give feedback.
All reactions