Getting error when trying to install CHIRP software to program a Ham Radio

New to Linux and Zorin but so far am enjoying the experience. I recently installed 17.2 on a newer laptop and the install went beautifully. I'm now attempting to configure all my programs and tried to install a handheld radio programming software call CHIRP. They have a Linux version and I was following the instructions listed here:

Step 1 to install the distro packages went well
Step 2 to install Chirp and Python dependencies failed

I downloaded the latest CHIRP file for Linux (chirp-20241003-py3-none-any.whl) and was able to run the following command as indicated in Step 2:

pipx install --system-site-packages ./chirp-20241003-py3-none-any.whl

It seems the package failed to build with the following message:

Fatal error from pip prevented installation. Full pip output in file:
/home/user/.local/pipx/logs/cmd_2024-10-11_08.36.37_pip_errors.log

pip seemed to fail to build package:
yattag

Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
error: metadata-generation-failed

Error installing chirp from spec '/home/user/Downloads/chirp-20241003-py3-none-any.whl'.

Same thing happened on a test desktop (Dell Optiplex 7040) I was using to evaluate Linux on, also running 17.2.

Being new to the Linux world I'm at a bit of a loss of what to do next. Obviously there seems to be an issue generating metadata but I have no idea how to fix that. Hoping the community here can assist me in resolving this one.

Thank you,
Rick

You might try upgrading the packages

python3 -m pip install --upgrade pip setuptools wheel

See if yattag can install

python3 -m pip install yattag

If it does, try upgrading pipx

python3 -m pip install --upgrade pipx

If everything works so far, try reinstalling using the name of the download file you pulled earlier.

Aravisian, thank you for your suggestions.

I ran each command you provided and received the following message each time:

/usr/bin/python3: No module named pip

Run

sudo apt install python3-pip

1 Like

That worked! I guess I was missing python3-pip. I ran the other 3 commands after installing pip and then was able to install and launch the program.

Thank you!!

3 Likes