gpt_academic icon indicating copy to clipboard operation
gpt_academic copied to clipboard

[Bug]: 导入软件依赖失败。使用该模块需要额外依赖,安装方法pip install --upgrade nougat-ocr tiktoken。

Open Knightreal opened this issue 2 years ago • 2 comments

Installation Method | 安装方法与平台

Pip Install (I used latest requirements.txt)

Version | 版本

Latest | 最新版

OS | 操作系统

Windows

Describe the bug | 简述

已经成功安装最新版nougat-ocr和tiktoken,但是gpt_academic在使用精准翻译PDF文档(NOUGAT)时,仍然提示“导入软件依赖失败。使用该模块需要额外依赖,安装方法pip install --upgrade nougat-ocr tiktoken。”

Screen Shot | 有帮助的截图

image

Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

No response

Knightreal avatar Oct 27 '23 03:10 Knightreal

在终端中执行对应指令即可。或者更推荐使用docker compose方案零,一次性部署本项目的完整能力

binary-husky avatar Oct 27 '23 15:10 binary-husky