Learning KeymouseGo 01 install and start up

Introduction

KeymouseGo is a open source software based on python, which can imitate the operation on mouse and keyboard. This article will introduce how to install it and start up it on Ubuntu according to github/taojy123/KeymouseGo.

Installation

Clone the project from github and

pip install -r requirements-universal.txt
pip install pyinstaller
pyinstaller -F -w --add-data "./assets:assets" KeymouseGo.py

In this project, it uses requirements-universal.txt to configure the rely packages instead of the .toml file, which can be directly recognized by pip. It is mainly because the rely packages varies from Windows to Linux. The file used as the parameter of pip install -r has a requirement on its format. For example, the code below is the requirements-universal.txt

# Python3.10

pynput==1.7.6
pyperclip==1.8.0
pyautogui==0.9.53
future==0.18.3
PySide6==6.4.3
qt-material==2.11
loguru==0.6.0

In this file it mainly use the format

PackageName==Version

however, there are some other formats which can describe more circumstances

PackageNmae==Version1-Version2
PackageName>=Version1,