Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

相关依赖已安装但提示错误为所需依赖未安装 #411

Closed
Putin0922 opened this issue Aug 13, 2024 · 4 comments
Closed

相关依赖已安装但提示错误为所需依赖未安装 #411

Putin0922 opened this issue Aug 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Putin0922
Copy link

Description of the bug | 错误描述

已根据Readme步骤完成Magic-PDF的CPU体验版安装,在运行测试时出现错误,提示缺少fairscale模块,如图所示,然后按其给出的指示重新用pip install进行安装,显示所有需要的依赖已经安装,然而仍然出现同样错误,请各位帮忙查找原因,软件版本为0.7.0b1。
屏幕截图 2024-08-13 160607

How to reproduce the bug | 如何复现

如错误描述所示

Operating system | 操作系统

Windows

Python version | Python 版本

3.10

Software version | 软件版本 (magic-pdf --version)

0.6.x

Device mode | 设备模式

cpu

@Putin0922 Putin0922 added the bug Something isn't working label Aug 13, 2024
@myhloli
Copy link
Collaborator

myhloli commented Aug 13, 2024

pip uninstall fairscale
pip install fairscale

卸了再装一下这个模块

@Putin0922
Copy link
Author

好的感谢,该问题已解决

@QuintinTao
Copy link

QuintinTao commented Sep 9, 2024

我这边 0.7.1 卸载了,再安装还是不行啊
image @myhloli

@myhloli
Copy link
Collaborator

myhloli commented Sep 9, 2024

我这边 0.7.1 卸载了,再安装还是不行啊 image @myhloli

不需要卸载magic-pdf,只需要执行:
pip uninstall fairscale
pip install fairscale
重装这个模块即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants