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

boto3、botocore版本问题 #1413

Open
zhouzhennan opened this issue Jan 6, 2025 · 4 comments
Open

boto3、botocore版本问题 #1413

zhouzhennan opened this issue Jan 6, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@zhouzhennan
Copy link

Description of the bug | 错误描述

我是在windows11中,按照readme.md文档里面的步骤进行安装,安装完成(没有报错),运行magic-pdf --version报:
ModuleNotFoundError: No module named 'botocore.docs'
,搜索了一下是版本的问题,将boto3、botocore将至指定的版本后,再次运行magic-pdf --version后,提示boto3版本不匹配,需要提升版本。
有没有人遇到过同样的问题?

How to reproduce the bug | 如何复现

conda create -n MinerU python=3.10
conda activate MinerU
pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com
magic-pdf --version

Operating system | 操作系统

Windows

Python version | Python 版本

3.10

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

0.10.x

Device mode | 设备模式

cpu

@zhouzhennan zhouzhennan added the bug Something isn't working label Jan 6, 2025
@myhloli
Copy link
Collaborator

myhloli commented Jan 6, 2025

把 pip list 的结果上传一下看看?

@zhouzhennan
Copy link
Author

把 pip list 的结果上传一下看看?

absl-py 2.1.0
accelerate 1.2.1
aiohappyeyeballs 2.4.4
aiohttp 3.11.11
aiosignal 1.3.2
albucore 0.0.20
albumentations 1.4.21
annotated-types 0.7.0
antlr4-python3-runtime 4.9.3
anyio 4.7.0
astor 0.8.1
async-timeout 5.0.1
attrdict 2.0.1
attrs 24.3.0
babel 2.16.0
bce-python-sdk 0.9.25
beautifulsoup4 4.12.3
black 24.10.0
blinker 1.9.0
boto3 1.35.92
botocore 1.23.0
braceexpand 0.1.7
Brotli 1.1.0
cachetools 5.5.0
certifi 2024.12.14
cffi 1.17.1
charset-normalizer 3.4.1
click 8.1.8
cloudpickle 3.1.0
colorama 0.4.6
coloredlogs 15.0.1
colorlog 6.9.0
contourpy 1.3.1
cryptography 44.0.0
cssselect 1.2.0
cssutils 2.11.1
cycler 0.12.1
Cython 3.0.11
datasets 3.2.0
decorator 5.1.1
detectron2 0.6
dill 0.3.8
doclayout_yolo 0.0.2
einops 0.8.0
et_xmlfile 2.0.0
eva-decord 0.6.1
eval_type_backport 0.2.2
evaluate 0.4.3
exceptiongroup 1.2.2
fairscale 0.4.13
fast-langdetect 0.2.0
fasttext-wheel 0.9.2
filelock 3.16.1
fire 0.7.0
Flask 3.1.0
flask-babel 4.0.0
flatbuffers 24.12.23
fonttools 4.55.3
frozenlist 1.5.0
fsspec 2024.9.0
ftfy 6.3.1
future 1.0.0
fvcore 0.1.5.post20221221
grpcio 1.68.1
h11 0.14.0
httpcore 1.0.7
httpx 0.28.1
huggingface-hub 0.27.0
humanfriendly 10.0
hydra-core 1.3.2
idna 3.10
imageio 2.36.1
imgaug 0.4.0
intel-openmp 2021.4.0
iopath 0.1.9
itsdangerous 2.2.0
Jinja2 3.1.5
jmespath 0.10.0
joblib 1.4.2
kiwisolver 1.4.8
langdetect 1.0.9
lazy_loader 0.4
lmdb 1.5.1
loguru 0.7.3
lxml 5.3.0
magic-pdf 0.10.6
Markdown 3.7
MarkupSafe 3.0.2
matplotlib 3.9.0
mkl 2021.4.0
more-itertools 10.5.0
mpmath 1.3.0
multidict 6.1.0
multiprocess 0.70.16
mypy-extensions 1.0.0
networkx 3.4.2
numpy 1.26.4
omegaconf 2.3.0
onnxruntime 1.20.1
opencv-contrib-python 4.6.0.66
opencv-python 4.6.0.66
opencv-python-headless 4.10.0.84
openpyxl 3.1.5
opt-einsum 3.3.0
packaging 24.2
paddleocr 2.7.3
paddlepaddle 2.6.1
pandas 2.2.3
pathspec 0.12.1
pdf2docx 0.5.8
pdfminer.six 20231228
pillow 11.1.0
pip 24.2
platformdirs 4.3.6
portalocker 3.0.0
premailer 3.10.0
propcache 0.2.1
protobuf 3.20.2
psutil 6.1.1
py-cpuinfo 9.0.0
pyarrow 18.1.0
pybind11 2.13.6
pyclipper 1.3.0.post6
pycocotools 2.0.8
pycparser 2.22
pycryptodome 3.21.0
pydantic 2.7.4
pydantic_core 2.18.4
PyMuPDF 1.25.1
pyparsing 3.2.0
pyreadline3 3.5.4
python-dateutil 2.9.0.post0
python-docx 1.1.2
pytz 2024.2
pywin32 308
PyYAML 6.0.2
rapid-table 0.3.0
RapidFuzz 3.11.0
rapidocr-paddle 1.4.4
rarfile 4.2
regex 2024.11.6
requests 2.32.3
robust-downloader 0.0.2
s3transfer 0.10.4
safetensors 0.4.5
scikit-image 0.25.0
scikit-learn 1.6.0
scipy 1.14.1
seaborn 0.13.2
setuptools 75.1.0
shapely 2.0.6
simsimd 6.2.1
six 1.17.0
sniffio 1.3.1
soupsieve 2.6
stringzilla 3.11.3
struct-eqtable 0.3.2
sympy 1.13.3
tabulate 0.9.0
tbb 2021.13.1
tensorboard 2.18.0
tensorboard-data-server 0.7.2
termcolor 2.5.0
thop 0.1.1.post2209072238
threadpoolctl 3.5.0
tifffile 2024.12.12
timm 0.9.16
tokenizers 0.19.1
tomli 2.2.1
torch 2.3.1
torchvision 0.18.1
tqdm 4.67.1
transformers 4.42.4
typing_extensions 4.12.2
tzdata 2024.2
ultralytics 8.3.57
ultralytics-thop 2.0.13
unimernet 0.2.2
urllib3 1.26.20
visualdl 2.5.3
Wand 0.6.13
wcwidth 0.2.13
webdataset 0.2.100
Werkzeug 3.1.3
wheel 0.44.0
win32_setctime 1.2.0
xxhash 3.5.0
yacs 0.1.8
yarl 1.18.3

@myhloli
Copy link
Collaborator

myhloli commented Jan 8, 2025

装下

boto3                    1.34.157
botocore                 1.34.157

这个试试呢

@zhouzhennan
Copy link
Author

装下

boto3                    1.34.157
botocore                 1.34.157

这个试试呢

好的好的

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

2 participants