Cannot install from the source on macOS arm64 #1321
Replies: 5 comments 5 replies
-
Sorry, I cannot follow the video given in the link: every is scrolled away, before I see what's happening. |
Beta Was this translation helpful? Give feedback.
-
I should have mentioned in my initial issue report that I followed the steps in #875, and as some other mentioned, it didn't work for me. |
Beta Was this translation helpful? Give feedback.
-
Looks like a mismatch between PyMuPDF source version and MuPDF version: |
Beta Was this translation helpful? Give feedback.
-
For people looking to use PyMuPDF on M1, the solution that worked for me is to
|
Beta Was this translation helpful? Give feedback.
-
You may be wondering, why there is no wheel for you.
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug (mandatory)
Since there is no arm64 wheel, I want to install PyMuPDF from the source. When I run
python setup.py install
this is what I get: https://asciinema.org/a/RCFQwfLcdl02ou99WWx2jVtSTTo Reproduce (mandatory)
Simply run
python setup.py install
Expected behavior (optional)
Installing without error :)
Your configuration (mandatory)
macOS 11.5.2 build 20G95 on arm64
Python 3.9.7
pip 21.3
Additional context (optional)
I installed MuPDF with Homebrew since I'm on an M1 MacBook. I also successfully installed it by building from the source also, which was a second attempt since I wasn't sure if MuPDF was the issue. Everything from MuPDF seems fine.
I'm not sure what is going on here, any ideas?
Beta Was this translation helpful? Give feedback.
All reactions