diff --git a/README.md b/README.md index 40725c8..f73d458 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ For Windows or Ubuntu, you can use `pip`: pip install fonttools ``` -For ArchLinux (or if your system enforces PEP 668), it is recommended to use `pipx`: +For Arch Linux (which enforces PEP 668), you should use `pacman` to install the system package: ```bash -pipx install fonttools +sudo pacman -S python-fonttools ``` ## Usage diff --git a/subtitle_fonts_cleaner.py b/subtitle_fonts_cleaner.py index 0e3de73..1bc0ae4 100644 --- a/subtitle_fonts_cleaner.py +++ b/subtitle_fonts_cleaner.py @@ -14,7 +14,7 @@ try: except ImportError: print("Error: 'fonttools' is required to accurately read internal font names.") print("Please install it by running: pip install fonttools (for Windows/Ubuntu)") - print("Or: pipx install fonttools (for ArchLinux)") + print("Or: sudo pacman -S python-fonttools (for Arch Linux)") sys.exit(1) def get_ass_font_names(ass_path):