-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fails to install in 32-bit Python on 64-bit CentOS #18113
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
Comments
It's installing 32-bit wheels:
But building a 64-bit wheel of Matplotlib:
And you have a 64-bit wheel on NumPy, but extensions are compiling for 32-bit:
We don't have any 32-bit wheels, so it's compiling from source. It's possible that we do not correctly pass 32-bit flags to the FreeType build, but it's hard to say as there's a bit of conflicting output here. |
This is a shared machine and I didn't setup Python on it but I believe it was built from source. I can confirm that the Python installed is 32-bit
But it's running on a 64-bit OS (as you would expect)
I think you're right about the 32-bit flag not being passed to FreeType, all of the other calls to gcc have the |
Is there a reason you can't use 64-bit Python then? It's hard for me to find a working 32-bit Python binary that works for multilib. The containers are pure 32-bit, and forced 32-bit conda produces a broken system (it doesn't even compile extensions, let alone FreeType.) As a workaround, you could compile against system FreeType (after installing its development package) by adding
|
Closing for lack of activity, feel free to ping to reopen. |
This should fix 32-bit compiles on a 64-bit system, as in matplotlib#18113, but I could never get a working 32-bit Python to test.
This should fix 32-bit compiles on a 64-bit system, as in matplotlib#18113, but I could never get a working 32-bit Python to test.
This should fix 32-bit compiles on a 64-bit system, as in #18113, but I could never get a working 32-bit Python to test.
Bug report
Bug summary
When installing 3.3.0 from PyPI on CentOS 7.6, linking of freetype fails during the installation.
Code for reproduction
Actual outcome
Expected outcome
Module should install without reporting errors, e.g. for matplotlib 3.2.2:
Matplotlib version
print(matplotlib.get_backend())
): NAThe text was updated successfully, but these errors were encountered: