Hey everyone! I'm new to Linux and recently set up a Raspberry Pi 5 running RaspbianOS 64-bit. I was excited to find out that I can potentially use Logitech Flow features on Linux. However, I'm stuck trying to install it. When I run the command `pip install logitech-flow-kvm`, I get an error message saying that my environment is externally managed. It suggests using `apt install` for system-wide Python packages or creating a virtual environment to install non-Debian-packaged Python packages. Can anyone help me figure this out? Thanks!
1 Answer
It sounds like you're hitting a common Python installation issue. The error is happening because Python prefers packages to be installed in a specific environment instead of globally on your system. To resolve this, I recommend setting up a virtual environment. You can find a good guide on how to create one [here](https://www.freecodecamp.org/news/how-to-setup-virtual-environments-in-python/). If you want to bypass this and install it anyway, you could run `pip install logitech-flow-kvm --break-system-packages`, but proceed with caution—it could mess up your Python setup! Good luck!
I tried that as well, and while installing seemed fine, I ended up getting a command not found error when I tried to list devices. It's frustrating!
Thanks for the tips! I created a virtual environment and got pip working, but when I run `logitech-flow-kvm list-devices`, I still don’t see any devices listed. I’m starting to think this might be a bit too advanced for me.