question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fedora 35 compatibility

See original GitHub issue

Hello,

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:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:7

github_iconTop GitHub Comments

1reaction
daltononecommented, Jan 18, 2022

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:

git clone https://github.com/$GITHUB_ACCOUNT/streamdeck-ui.git
wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
tar xzf Python-3.9.6.tgz 
rm Python-3.9.6.tgz
cd Python-3.9.6 
sudo ./configure --enable-optimizations 
sudo make altinstall
python3.9 -V 
cd ../streamdeck-ui
virtualenv -p `which python3.9` ./streamdeck-env
source streamdeck-env/bin/activate
poetry install
0reactions
dodgyrabbitcommented, Feb 2, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hardware Overview - Fedora Docs
Fedora 37 supports most display adapters. Modern, feature-rich desktop environments like GNOME3 and KDE Plasma Workspaces use video devices to provide 3D- ...
Read more >
Fedora 37/36/35 NVIDIA Drivers Install Guide [525.60.11 ...
GeForce GT/GTX 600/700/800/900/10 series cards works with 510.xx, 470.xx, and 390.xx NVIDIA drivers (GTX 1080 Ti, GTX 1080, GTX 1070, GTX 1060, ...
Read more >
Fedora Linux 35 Now Generally Available - Red Hat
Fedora 35 Cloud images will now have hybrid BIOS+UEFI boot support. With this update, users now have legacy BIOS support for fallback, but...
Read more >
Worth the wait: Fedora Linux 35 is here!
We've made some improvements in Fedora Cloud for this release. Since many public cloud providers now support UEFI boot, Cloud images have hybrid ......
Read more >
Fedora 35 Review « TOP NEW Review
Fedora can also use Flatpak and Snap applications, making these packages compatible across the Debian and Red Hat worlds and indeed most of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found