MicheleCotrufo / pdf2doi

A python library/command-line tool to extract the DOI or other identifiers of a scientific paper from a pdf file.
101 stars 18 forks source link

Installation failed due to pymupdf==1.21.0 #28

Closed MiuKaShi closed 3 weeks ago

MiuKaShi commented 5 months ago

Hi, I am an arch linux user. Installing pdf2doi via pipx always failed. After checking, I found that due to pymupdf==1.21.0, and change to the latest version of pymupdf. everything works well. So I recommended to update the version of the pymudf dependencies.

MicheleCotrufo commented 5 months ago

Thanks! I'll add it to the to-do list for next release!

sga-13 commented 5 months ago

I was able to install it by downloading pdf2doi source, and I just edited out the ==1.21.0 (I dont know if there were any other name space or breaking changes, I just wanted to try) and it works, I tried to check many papers, and it seems to be fine (I installed almost all dependencies through paru (so main/extra repos or aur))

Also, may I ask if I can add this package to AUR. Only 3 other dependencies (1 of them is present, but different version) things are not on AUR, and maybe I can find some way to manage it

MicheleCotrufo commented 3 weeks ago

This should be fixed with version 1.7 (just published), please re-open the issue if the problem persists.