Updating/installing Chirp on Linux, or not as it seems to be.
Well.
Just for the heck of it, I went ahead, following the published (on https://chirpmyradio.com/projects/chirp/wiki/ChirpOnLinux ) instructions.
What follows below, was performed on LMDE 5. (Linux Mint Debian Edition. In effect, Mint without the Ubuntu influences.)
Chirp was not running, I had checked it worked OK before uninstalling.
A fresh file was downloaded from :- https://archive.chirpmyradio.com/chirp_next/next-20240531/chirp-20240531-py3... Without errors or warnings...
Then, from my home folder in a terminal session...
dave@hp-compaq-sfdt:~$ pipx uninstall chirp uninstalled chirp! ✨ 🌟 ✨
That worked...
dave@hp-compaq-sfdt:~$ pipx install --system-site-packages /home/dave/Downloads/chirp-20240531-py3-none-any.whl
(The path and file *are valid*) The result?
ERROR: Package 'chirp' requires a different Python: 3.9.2 not in '<4,>=3.10' Cannot determine package name from spec '/home/dave/Downloads/chirp-20240531-py3-none-any.whl'. Check package spec for errors.
Checking my installed version of Python 3...
dave@hp-compaq-sfdt:~$ python3 --version Python 3.9.2
Even copying the downloaded file to my home folder and ...
dave@hp-compaq-sfdt:~$ pipx install --system-site-packages ./chirp-20240531-py3-none-any.whl ERROR: Package 'chirp' requires a different Python: 3.9.2 not in '<4,>=3.10' Cannot determine package name from spec '/home/dave/chirp-20240531-py3-none-any.whl'. Check package spec for errors.
or just ...
dave@hp-compaq-sfdt:~$ pipx install ./chirp-20240531-py3-none-any.whl ERROR: Package 'chirp' requires a different Python: 3.9.2 not in '<4,>=3.10' Cannot determine package name from spec '/home/dave/chirp-20240531-py3-none-any.whl'. Check package spec for errors.
So what gives? As can be seen the basic error is the same regardless of how I reference the package file.
As before, I'm a relatively experienced Linux user, and had installed Chirp Next using pipx in the past, but into a virgin system.
Are the website instructions wrong or just incomplete, or have I misinterpreted the instructions?
Either way, THIS is why an automated script is needed, even if there has to be different versions for (example) Fedora vs Debian based distro's.
If Python needs updating, then.. !!! THE REQUIRED MINIMUM VERSION SHOULD BE MENTIONED ON THE WEBSITE !!! (Sorry to shout, but...)
73.
Dave G8KBV.
ERROR: Package 'chirp' requires a different Python: 3.9.2 not in '<4,>=3.10' Cannot determine package name from spec '/home/dave/Downloads/chirp-20240531-py3-none-any.whl'. Check package spec for errors.
It's telling you the problem right here: You need at least python 3.10 to run CHIRP (as of a few weeks ago). It's refusing to install because your 3.9 version isn't new enough. You should upgrade your distro.
Either way, THIS is why an automated script is needed, even if there has to be different versions for (example) Fedora vs Debian based distro's.
The script is pipx and it's telling you what any installation script would tell you, that your python is too old.
If Python needs updating, then.. !!! THE REQUIRED MINIMUM VERSION SHOULD BE MENTIONED ON THE WEBSITE !!!
I don't want to specify a specific version here because it's specified in the package and mentioned when you install (see above). Putting it here is just asking for it to be stale if it doesn't get updated the next time we bump. However, I'll be glad to add to the page that if you see something like the above error message it means your python is too old if you think it's necessary for clarity.
(Sorry to shout, but...)
Yeah, but please don't do that again. Your responses here have already been quite rude and I'm sure the other volunteers who work on this (and the docs, thanks Jeff!) will join me in appreciating you being a lot more respectful. Thanks!
--Dan
participants (3)
-
88isgreat@mail.ru
-
Dan Smith
-
Dave B