rbreaves / kinto

Mac-style shortcut keys for Linux & Windows.
http://kinto.sh
GNU General Public License v2.0
4.42k stars 213 forks source link

Fails to install on LXDE, Ubuntu Focal #868

Open ssaidnabiev opened 3 months ago

ssaidnabiev commented 3 months ago

Running ./setup.py returns message that Kinto has failed to install, same goes with new install method

Environment: Install Type: Bare Metal Distro: Ubuntu 20.04 DE: LXDE Branch: master

Screenshots

~/kinto$ ./setup.py 
E: Unsupported file / given on commandline

Kinto 1.2-13 build 4a3bfe7
Type in Linux like it's a Mac.

E: Unsupported file / given on commandline
Requirement already satisfied: pillow in /usr/lib/python3/dist-packages (7.0.0)
Using systemd...
localuser:root being added to access control list
fatal: destination path 'xkeysnail' already exists and is not an empty directory.

Usage:   
  pip3 install [options] <requirement specifier> [package-index-options] ...
  pip3 install [options] -r <requirements file> [package-index-options] ...
  pip3 install [options] [-e] <vcs project url> ...
  pip3 install [options] [-e] <local project path> ...
  pip3 install [options] <archive url/path> ...

no such option: --break-system-packages

Kinto install has failed.

cd into ./xkeysnail
Run 'sudo pip3 install --upgrade .' to debug issue

image

RedBearAK commented 3 months ago

@ssaidnabiev

The Kinto installer needs to be significantly rewritten to create a Python virtual environment in order to prevent these issues with Python managed environments.

Try the project at the link below instead, if you are interested. It has a config that's based on Kinto but uses a completely different installer and strategy for running the services. I mostly test on newer distro releases, but it should still install with no issues on Ubuntu 20.04.

https://github.com/RedBearAK/toshy (short URL https://toshy.app)