Unable to pip install PyMuPDF (running on new M1pro Macbook) #1486
Replies: 9 comments
-
This is a duplicate issue, but no bug: |
Beta Was this translation helpful? Give feedback.
-
Please see here. |
Beta Was this translation helpful? Give feedback.
-
Hi @JorjMcKie - first want to thank you for all your efforts with this amazing library. I noticed that Thanks |
Beta Was this translation helpful? Give feedback.
-
@jr2173 - I thought the
So since v1.19.0 I have put these generations under hiat and wait until someone complains ... 😒 |
Beta Was this translation helpful? Give feedback.
-
Sorry I jumped the gun a bit, I'm actually using Docker where the Still exploring how to streamline this as we're seeing more M1 Macs being used in our dev cycle, perhaps a separate Dockerfile for |
Beta Was this translation helpful? Give feedback.
-
I can make a set of wheels based on the 1.19.5 pre-version more or less now. Give me a day or so. |
Beta Was this translation helpful? Give feedback.
-
I am facing the same issue and the current version is 1.19.6, so I guess there still isn't a M1 based wheel? |
Beta Was this translation helpful? Give feedback.
-
Same here, 2024 on mac M1 |
Beta Was this translation helpful? Give feedback.
-
We have wheels for MacOS/arm64 these days. So please create a new issue for the problem you're seeing, using https://github.com/pymupdf/PyMuPDF/issues/new?template=bug_report.yml. [I'll close this discussion as it's very old and out of date now.] |
Beta Was this translation helpful? Give feedback.
-
I am trying to install PyMuPDF on a new M1Pro Macbook but I get a large error message each time. My input is -
pip3 install PyMuPDF
I have tried this several times but the output is the same.
The error is very long but some key pieces appear to be -
fitz/fitz_wrap.c:1756:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^
fitz/fitz_wrap.c:2755:10: fatal error: 'fitz.h' file not found #include <fitz.h> ^~~~~~~~ 2 warnings and 1 error generated. error: command 'clang' failed with exit status 1
I have already installed fitz with no issues. Are there any other packages I need to install prior to retrying PyMuPDF?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions