Unable to find installation candidates for pyqt5
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: Raspberry pi - Raspbian 10
- Poetry version: 1.1.5
- Link of a Gist with the contents of your pyproject.toml file: pyproject.toml
Issue
I’m getting issues updating my current poetry setup. When running poetry update -vvv:
.
.
1: Version solving took 31.418 seconds.
1: Tried 1 solutions.
Writing lock file
Finding the necessary packages for the current system
Package operations: 1 install, 23 updates, 0 removals
• Updating cryptography (3.4.6 -> 3.4.7): Downloading... 100%
• Updating cryptography (3.4.6 -> 3.4.7): Installing...
• Updating cryptography (3.4.6 -> 3.4.7)
• Installing pyqt5-qt5 (5.15.2): Pending...
• Installing pyqt5-qt5 (5.15.2): Failed
RuntimeError
Unable to find installation candidates for pyqt5-qt5 (5.15.2)
at ~/.poetry/lib/poetry/installation/chooser.py:72 in choose_for
68│
69│ links.append(link)
70│
71│ if not links:
→ 72│ raise RuntimeError(
73│ "Unable to find installation candidates for {}".format(package)
74│ )
75│
76│ # Get the best link
• Updating sqlalchemy (1.4.2 -> 1.4.3): Downloading... 100%
• Updating sqlalchemy (1.4.2 -> 1.4.3): Installing...
• Updating sqlalchemy (1.4.2 -> 1.4.3)
Does this mean there is no pyqt5 version available that the other packages support? As I have no problem installing pyqt5==5.15.2 using pip.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Unable to install PyQt5 with pip - Stack Overflow
Run cmd: python3 -m pip install PyQt5; Pip is up to date (21.3.1); pip install with a specific PyQt5 Version. Any ideas to...
Read more >Re: Python getting problem of installing pyqt5 - Google Groups
Looks like you have a version mismatch problem. ... > WARNING: The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 'C:\Users\ ...
Read more >Dependency on qt5 for arm64 (apple silicon) - Coding
Unable to find installation candidates for pyqt5 -qt5 (5.15.2). I think qt5 has not been ported to arm64, but qt6 has. I have...
Read more >Changelog - pip documentation v22.3.1
Implement a top-level pip download command and deprecate pip install --download . When uninstalling, look for the case of paths containing symlinked directories ......
Read more >pyqt5-tools - PyPI
You will generally install pyqt5-tools using pip install. ... pyqt5 must already be installed or this script will be unable to find the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Unfortunately the wheels provided by PyQt5 is only for a few platforms (only x86 on mac, linux & windows). It works for me on arm (raspberry pi) specifying
PyQt5 = "=5.15.2"inpyproject.toml. The source files are included there, so it’ll compile it from source (note that installing it will take a long time).If that doesn’t work, download the source code and compile it yourself.
I have a problem related with this issue. poetry cannot find wheel package for PyQt5, instead, it tries to build from source