I fix the python3-distutils-extra error by adding (as ulauncher said) /usr/lib/python3.8/site-packages to the PYTHONPATH:
-
Open a terminal
-
Open the .bashrc with a text editor, eg. Kate ~/.bashrc
-
Add at the end export PYTHONPATH="/usr/lib/python3.8/site-packages"
-
Install ulauncher
Note: you must be under python environment. I was in anaconda environment and even if the python3-distutils-extra did not appear I was not able to compleate the installation, so I ran conda deactivate and after the installation conda activate
Pinned Comments
friday commented on 2023-10-02 18:19 (UTC) (edited on 2023-10-21 16:18 (UTC) by friday)
When you update Python, you need to rebuild all python AUR packages, including Ulauncher.
See https://github.com/Ulauncher/Ulauncher/discussions/1280 for more info