Closed wendijohanes closed 2 years ago
PyQt5 requires a lot of resource to run, it’s likely not something pip can do. You probably need to ask for advices from PyQt maintainers https://riverbankcomputing.com/support/pyqt
PyQt5 requires a lot of resource to run, it’s likely not something pip can do. You probably need to ask for advices from PyQt maintainers https://riverbankcomputing.com/support/pyqt
I used to be able to run install it via pip in the past.. I can install it on Linux tough, but for now I have problem on FreeBSD system
@wendijohanes does it work with pip 22.1.2 on the same FreeBSD system ?
Based on the wheels provided by the upstream it seems like only Linux has first class support
Is there actually a way to publish bsd builds of wheels on pypi?
@wendijohanes does it work with pip 22.1.2 on the same FreeBSD system ?
It doesn't work with basically every PyQt5 >= 5.15.0 Tried with various pip and python version, still throttling my RAM
I tried installing PyQt5 == 5.14.2, It didn't eat my RAM, but compilation process failed (It was expected tough since I have latest qt on my system) but with every PyQt5 >= 5.15.0, it always eats up RAM, no matter how much RAM i have
I used to be able to install PyQt5 it via pip in the past, I know it was time consuming, but It didn't eat my whole RAM as I remembered it. Luckily, I only have one mini application built with pyqt5. I am switching to Qt5 C++
From your explanation it seems more likely that the issue is due to a change in PyQt5 than in pip, so there is not much we can do to help here.
Please reach out to the maintainers of PyQt for assistance.
From your explanation it seems more likely that the issue is due to a change in PyQt5 than in pip, so there is not much we can do to help here.
Finally, I was able to install it by building it from source: sip-install --verbose --target-dir ~/
https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html Thank you for all your reply and support
PyQt5 requires a lot of resource to run, it’s likely not something pip can do. You probably need to ask for advices from PyQt maintainers https://riverbankcomputing.com/support/pyqt
https://www.riverbankcomputing.com/static/Docs/PyQt5/installation.html I solved it by building it from the source. Thank you for pointing PyQt maintainer's url
Is there actually a way to publish bsd builds of wheels on pypi?
No. There was a discussion somewhere else and iirc the conclusion(?) was
FWIW, attempting to install PyQt5 via pip on an aarch64 Ubuntu Linux box has the same results. All RAM is eaten up until the process is killed. The PyQt-builder + source tarball + sip-install alternative works just fine, without any excess memory usage at all.
Description
Can't install latest PyQt5 using pip OS: FreeBSD 13.1 Python 3.7 - Python3.9 Latest QT version on FreeBSD system all system and packages already updated to latest version
Tried using --no-cache-dir option, still no luck. Tried various python version from 3.7 to 3.9 Every time I execute pip install PyQt5, process always "freeze" on Preparing metadata (pyproject.toml) .. step (cursor not spinning like usual)
After I open task manager, this process hoggs RAM no matter how much ram I have, this process always eats up available RAM/swap IN MINUTES After I run out of RAM/swap, installation process killed automatically----> Preparing metadata (pyproject.toml) .. killed
Expected behavior
No response
pip version
22.2
Python version
3.9
OS
FreeBSD 13.1
How to Reproduce
Output
No response
Code of Conduct