From dcf635e1f7822414806317d23139fe5b44325cff Mon Sep 17 00:00:00 2001 From: "Rudbeckia.hirta.L" Date: Sun, 8 Sep 2024 19:23:11 +0800 Subject: [PATCH] fix: lost pyexecjs dependecy in requirements.txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Issue zhihu/help.py 中有 import execjs. 但是 execjs 在 requirements.txt 不存在, 还需要手动安装. # Solution 在 requirements.txt 中增加对应的版本依赖 --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c16107b..83a9c83 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,4 +14,5 @@ jieba==0.42.1 wordcloud==1.9.3 matplotlib==3.9.0 requests==2.32.3 -parsel==1.9.1 \ No newline at end of file +parsel==1.9.1 +pyexecjs==1.5.1 \ No newline at end of file