mepeichun / SubtitleTranslate

Translate the subtitle file into other language
GNU General Public License v3.0
106 stars 37 forks source link

ModuleNotFoundError: No module named 'execjs' & #5

Open bing90508 opened 1 year ago

bing90508 commented 1 year ago

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'

GWDx commented 1 year ago
pip install PyExecJS