PDFMathTranslate / PDFMathTranslate/PDFMathTranslate

Environment setup completed but pdf2zh verification failed. Please restart VS Code and try again.

Open
#1,173 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
37k
Forks
3.3k
Avg merge
11m
Merged PRs (30d)
1

Description

### 在提问之前...

- [x] 我已经尝试了PDFMathTranslate-next,并在PDFMathTranslate-next提交了issue
- [x] 我已经搜索了现有的 issues
- [x] 我在提问题之前至少花费了 5 分钟来思考和准备
- [x] 我已经认真且完整的阅读了 wiki
- [x] 我已经认真检查了问题和网络环境无关(包括但不限于Google不可用,模型下载失败)

### 使用的环境

```markdown
OS: WIN 11
Python:3.12.10
pdf2zh: 1.3.3
VS code extensions
```

### 请选择安装方式

pip

### 描述你的问题

在VS code extension 右击PDF 文件中使用,vs code重启和电脑重启都没用, 没生成任何翻译后的文件
报错如下:
Environment setup completed but pdf2zh verification failed. Please restart VS Code and try again.

output more info:
[ENV] uv is already installed
[ENV] Installing pdf2zh via uv...
[ENV] Executing: "C:\Users\YiTingZeng\.local\bin\uv.exe" tool install --python 3.12 pdf2zh
`pdf2zh` is already installed
[INFO] pdf2zh installed successfully

### 如何复现

1. 执行 '...'
2. 选择 '....'
3. 出现问题

### 预期行为

_No response_

### 相关 Logs

```Text

```

### 原始PDF文件

_No response_

### 还有别的吗?

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure from the VS Code extension's right-click action on a PDF, using the reported Windows 11, Python 3.12.10, and pdf2zh 1.3.3 environment. Inspect the extension output around uv installation and verification; done means verification succeeds and a translated PDF is generated.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.