There is no need to separately download CHIRP to install it because pip will do that for you. This works perfectly on Ubuntu. Just use "copy link" in the web browser for the Python wheel file and then paste it as part of the command.
$ pip install -U https://trac.chirp.danplanet.com/chirp_next/next-20230911/chirp-20230911-py3...
Defaulting to user installation because normal site-packages is not writeable Collecting chirp==20230911 Downloading https://trac.chirp.danplanet.com/chirp_next/next-20230911/chirp-20230911-py3... (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 862.1 kB/s eta 0:00:00 Requirement already satisfied: pyserial in /usr/local/lib/python3.10/dist-packages (from chirp==20230911) (3.5) Requirement already satisfied: requests in ./.local/lib/python3.10/site-packages (from chirp==20230911) (2.28.1) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from chirp==20230911) (1.16.0) Requirement already satisfied: future in /usr/lib/python3/dist-packages (from chirp==20230911) (0.18.2) Requirement already satisfied: yattag in /usr/local/lib/python3.10/dist-packages (from chirp==20230911) (1.15.0) Requirement already satisfied: charset-normalizer<3,>=2 in ./.local/lib/python3.10/site-packages (from requests->chirp==20230911) (2.1.1) Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests->chirp==20230911) (3.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests->chirp==20230911) (1.26.5) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests->chirp==20230911) (2020.6.20)
Installing collected packages: chirp Successfully installed chirp-20230911