Open Parzival244 opened 1 year ago
Hi thanks for raising this issue!
I'm not able to test this locally yet, however I do remember that using Python 3.8 should work (as that was the last Python version that I tested the project with).
You can try using Python 3.8 to see if that helps. I'm afraid if I want to support later Python versions I would need to update pyqt5
, which might involve a bunch of breaking changes.
Seemingly doesn't like opencv-python and pyqt5 versions:
Installing opencv-python (4.5.2.52): Failed
RuntimeError
Unable to find installation candidates for opencv-python (4.5.2.52)
at ~\AppData\Roaming\pypoetry\venv\lib\site-packages\poetry\installation\chooser.py:109 in choose_for 105│ 106│ links.append(link) 107│ 108│ if not links: → 109│ raise RuntimeError(f"Unable to find installation candidates for {package}") 110│ 111│ # Get the best link 112│ chosen = max(links, key=lambda link: self._sort_key(package, link)) 113│
• Installing pre-commit (2.17.0) • Installing pyinstaller (4.5.1) • Installing pyinstaller-versionfile (2.0.0) • Installing pyqt5 (5.14.1): Failed
ChefBuildError
Backend 'sipbuild.api' is not available.
at ~\AppData\Roaming\pypoetry\venv\lib\site-packages\poetry\installation\chef.py:152 in _prepare 148│ 149│ error = ChefBuildError("\n\n".join(message_parts)) 150│ 151│ if error is not None: → 152│ raise error from None 153│ 154│ return path 155│ 156│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with pyqt5 (5.14.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "pyqt5 (==5.14.1)"'.
• Installing pyqt5-stubs (5.15.2.0) • Installing python-magic (0.4.24) • Installing tomlkit (0.7.2)