SubtitleTranslate icon indicating copy to clipboard operation
SubtitleTranslate copied to clipboard

ModuleNotFoundError: No module named 'execjs' &

Open bing90508 opened this issue 2 years ago • 1 comments

Hi, I have already got pyexecjs {Requirement already satisfied: pyexecjs in ./Library/Python/3.7/lib/python/site-packages (1.5.1)} and jieba, but still return this error, could you help with this issue? TX

sharron.x@SharronsMacBook ~ % python3 sample.py
If your target language is Chinese, please install third party library "jieba" Traceback (most recent call last): File "/Users/sharron.x/sample.py", line 1, in from utils import translate_and_compose File "/Users/sharron.x/utils.py", line 2, in from util_trans import Translator File "/Users/sharron.x/util_trans.py", line 2, in import execjs ModuleNotFoundError: No module named 'execjs'

bing90508 avatar Dec 14 '22 04:12 bing90508

pip install PyExecJS

GWDx avatar Jan 27 '23 16:01 GWDx