-
Notifications
You must be signed in to change notification settings - Fork 520
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
Linux wheel platform tag "manylinux2010" requires pip 19.0 or greater #400
Comments
No - just verfied on Ubuntu Python2 and 3. You should see something like this
And on Python2:
|
I actually do not understand why pip tries to compile from source ... |
I get the same error with Python 2.7. I can reproduce this across several machines (a VM and a CI docker setup). However, it works fine on my Fedora laptop. Here's with the wheel directly (hopefully I got the correct file).
|
Here's a slightly more verbose version: $ pip3 install --user -v PyMuPDF-1.16.7-cp36-cp36m-manylinux2010_x86_64.whl
PyMuPDF-1.16.7-cp36-cp36m-manylinux2010_x86_64.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 330, in run
wheel_cache
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 276, in populate_requirement_set
wheel_cache=wheel_cache
File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 245, in add_requirement
wheel.filename
pip.exceptions.InstallationError: PyMuPDF-1.16.7-cp36-cp36m-manylinux2010_x86_64.whl is not a supported wheel on this platform. |
This is weird. So your configuration is either really not supported by manylinux2010 - in which case you would indeed have to go the source installation path, including generation of MuPDF, or this is a false alarm.
Why don't you upgrade pip in the first place.
As a last resort convert the wheel back to egg format using https://github.com/dairiki/humpty or similar. You can also unzip the wheel and manually copy the resulting files. BTW - have you ever successfully installed PyMuPDF on this machine? Whatever the outcome, you definitely should file a bug to the creator of the manylinux format repo https://github.com/pypa/manylinux. |
Yes previously to Nov 10, I never had any problems. My CI started breaking as soon as 1.16.7 came out. I will try some of those things "later". My feeling is 18.04 is pretty common CI platform so I think a lot of people will hit this (assuming its not some weird problem local to me!) |
Upgrading pip seems to fix it... So does |
This comment of pypa/manylinux#338 sort of suggests its not supposed to work with old pip. That seems shortsighted given Ubuntu 18.04 is going to be a standard building block for some time yet... Anyway, will file an issue just in case |
Upstream issue: pypa/manylinux#389 |
Ahhh, glad to hear that ... sort of. |
Ok, fine. |
I think its manylinux2014 that requires 19. manylinux2010 seems to be pip 10 (pypa/manylinux#179). For reference: pip 10 came out 2018-04-14 so it guess its no surprising Ubuntu 18.04 is still on pip 9. |
close: I guess so, you're not going back to manylinux1 I suppose! |
No, there is no way for me to do that - even if I would like to: non-Windows wheels are created by the |
i solved this problem by upgrade python pip:
|
Not sure if this is expected, but it seems I have to do this every time, which surprised me. |
My mistake - I got confused and was actually in a different environment from the one where I'd previously upgraded. But in any case I see a comment in another ticket from JorgMcKie saying that yes, pip should always be upgraded first. |
This is a recommendation and not always required. This procedure is also outlined / recommended in the documentation's installation section! However, a lot is going on in terms of Python platform support and consequential changes to PIP. The mean time between PIP versions in 2021 is clearly less than a month already (by end of October 13 versions in 2021 already). |
I'm on an Ubuntu 18.04 VM using Python 3.6.
Looks a bit like a dupe of #358 but my understanding from https://pypi.org/project/PyMuPDF/ is that MuPDF is included in a wheel.
Again, apologies if I've misunderstood: perhaps the new install procedure is that everyone needs to get MuPDF manually!?
The text was updated successfully, but these errors were encountered: