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

Unable to Install PyQt5 on Ubuntu 24.04 ARM64 with uv #12277

Open
nimaxin opened this issue Mar 18, 2025 · 1 comment
Open

Unable to Install PyQt5 on Ubuntu 24.04 ARM64 with uv #12277

nimaxin opened this issue Mar 18, 2025 · 1 comment
Assignees
Labels
question Asking for clarification or support

Comments

@nimaxin
Copy link

nimaxin commented Mar 18, 2025

Question

I'm trying to install the pyqt5 library on a Linux server with the following specifications:

OS: Ubuntu 24.04.1 LTS (Noble)
Architecture: ARM64 (aarch64)

However, when I run:
uv add pyqt5

I get this error:

error: Distribution `pyqt5-qt5==5.15.16 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform

It seems that there's no pre-built pyqt5 package for arm64. I tested this on an x86_64 machine, and it worked fine.

I’ve tried solutions from stackoverflow and ai generated suggestions, but none of them worked.

The only way I managed to install pyqt5 was using:
sudo apt-get install python3-pyqt5

However, my project uses uv, and I’d prefer to install it that way.
Any workaround to make it work with uv on arm64?

Platform

OS: Ubuntu 24.04.1 LTS (Noble)
Architecture: ARM64 (aarch64)

Version

uv 0.5.11

@nimaxin nimaxin added the question Asking for clarification or support label Mar 18, 2025
@charliermarsh
Copy link
Member

Unfortunately no, if there's no prebuilt wheels shipped for ARM Linux, then I think the best we can do is build from source!

@charliermarsh charliermarsh self-assigned this Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Asking for clarification or support
Projects
None yet
Development

No branches or pull requests

2 participants