-
Notifications
You must be signed in to change notification settings - Fork 73
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
TypeError: setMinimumWidth(self, int) argument 1 has unexpected type 'float' #198
Comments
I'm going to try installing on Fedora and let you know. It should be a missing package. |
Are there any updates? I'm running Fedora 35 and can't run bauh anymore.
|
That's weird. It seems the QT libraries for Fedora are no casting float to integers. Anyway, I've pushed a hard casting for the QT component sizes to avoid this sort of issue b50b067 on the staging branch. Could you give me a feedback if it is not crashing anymore ? |
Works perfectly now. Thanks for the quick fix! |
I am trying to install "bauh" in Fedora 35 prerelease running as VM in virtenv "Boxes" in a ArchLinux.
python3-pyqt5-sip-12.9.0-2.fc35.x86_64 has been manually installed by "sudo dnf install python3-pyqt5-sip".
Using "pip install bauh" leads to a "TypeError: setMinimumWidth(self, int) argument 1 has unexpected type 'float'" when trying to start bauh on cli.
pip uninstall bauh
Building/installing bauh according to:
git clone https://github.com/vinifmor/bauh.git -b staging --depth=1
cd bauh
python3 -m venv venv
venv/bin/pip install pip --upgrade
venv/bin/pip install setuptools --upgrade
venv/bin/pip install -r requirements.txt
venv/bin/pip install .
venv/bin/bauh # or venv/bin/bauh-tray
is not possible.
venv/bin/pip install -r requirements.txt throws error:
ERROR: Failed building wheel for PyQt5-sip
Failed to build PyQt5-sip
ERROR: Could not build wheels for PyQt5-sip which use PEP 517 and cannot be installed directly
How to install now bauh?
The text was updated successfully, but these errors were encountered: