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

Poetry unable to install pymupdfb on M1 #791

Closed
spuder opened this issue Apr 5, 2024 · 2 comments
Closed

Poetry unable to install pymupdfb on M1 #791

spuder opened this issue Apr 5, 2024 · 2 comments
Labels
bug Something isn't working installation Related to installation and setup severity:medium Affecting multiple users

Comments

@spuder
Copy link

spuder commented Apr 5, 2024

Describe the bug

Doing make build on an OSX machine with M1/M2/M3 processor causes a failure because pymupdfb (1.24.1) is not available

Setup and configuration

Current version:

2855959c767feaea2b5e90dc76f93e996606d0e9

This was noticed by several other users in PR #378

Related

One user suggests the solution is to install MuPDF to indirectly cause wheels to be installed

There are no wheels for M1 platforms (and there will not be any time soon). So you must install from sources - which means you must install MuPDF first, then PyMuPDF.

I've tried that with no luck.

@spuder spuder added the bug Something isn't working label Apr 5, 2024
@spuder
Copy link
Author

spuder commented Apr 5, 2024

As mentioned here

Workaround

poetry run pip install pymupdfb
poetry install --without evaluation

(poetry run might not be required), in which case the following might be more appropriate

pip install pymupdfb
poetry install --without evaluation

@rbren rbren added the severity:medium Affecting multiple users label Apr 6, 2024
@rbren rbren added the installation Related to installation and setup label Apr 15, 2024
@rbren
Copy link
Collaborator

rbren commented Apr 15, 2024

Should be fixed with the new docker installation method

@rbren rbren closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working installation Related to installation and setup severity:medium Affecting multiple users
Projects
None yet
Development

No branches or pull requests

2 participants