Fedora 35 compatibility
See original GitHub issueHello,
After updating to Fedora 35 this morning, my streamdeck_ui was broken. Reinstalling it gave me a bunch of successive errors because of missing dependencies on my system.
I managed to get it to run again by making sure all of the following dev packages were installed:
- freetype-devel
- hidapi-devel
- libhid-devel
- libjpeg-devel
- libpng-devel
- libusb-devel
- libxc-devel
- systemd-devel
- zlib-devel
Not sure all of them are required, but here you go.
As far as I can understand what happened, some of these dependencies would be directly needed by streamedck_ui (hidapi, libhid, libusb, libxc, zlib) while the others are needed by a Python peer dependency named Pillow (freetype-devel, libjpeg-devel, libpng-devel).
To make all of that work, I had to make some cleanup on my system, especially since Pillow was not in a good place. Please find below a script that makes streameck_ui work 100% on my Fedora 35, taking care of all the needed steps:
pip3 uninstall pil Pillow streamdeck_ui
pip3 cache purge
sudo dnf install freetype-devel hidapi-devel libhid-devel libjpeg-devel libpng-devel libusb-devel libxc-devel systemd-devel zlib-devel
pip3 install --user streamdeck_ui
Hope it could help. Cheers!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7
This is a python3.10 issue. Large parts of the poetry install require python<3.10 and Fedora 35 comes with python3.10.1. To solve this I forked the repo, cloned it to my local, installed python 3.9.6, setup a virtualenv running python3.9.6, and did the poetry install. After that you can just run streamdeck. This is all probably overkill, but I was downloading thinking I was looking for a way to add a new device and was pleasantly surprised. Hope this helps someone else.
After forking:
Version 1.1.3 is now published and should resolve the python 3.9 dependency issue as well as provide support for Mark 2 type devices.