tianclll / Ace-Translate

关于本地离线翻译程序,支持文本翻译,下划线翻译,屏幕截图翻译,语音(音频文件)翻译,视频翻译,txt文件,PPT,Word,PDF,Excel,图片翻译。资源
Apache License 2.0
91 stars 21 forks source link

None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. #2

Closed RuiHowe closed 7 months ago

RuiHowe commented 7 months ago

报错,modles文件夹明明已经发在“Ace-Translate-main”文件夹里了 C:\Users\Admin\AppData\Local\Programs\Python\Python38\python.exe D:\code\Ace-Translate-main\main.py None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. Exception in thread Thread-4: Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner self.run() File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "D:\code\Ace-Translate-main\main.py", line 173, in run_translation from Translation import translation_ch2en, translation_en2ch File "D:\code\Ace-Translate-main\Translation\translation_en2ch.py", line 7, in import my_utils File "D:\code\Ace-Translate-main\my_utils.py", line 2, in from nltk import word_tokenize ModuleNotFoundError: No module named 'nltk'