I just tested a new clean install on fedora. The file I downloaded was the same you showed chirp-20240827-py3-none-any.whl
Note that I did one thing differently. On fedora I chose to install pip instead of pipx. I then performed the installation with ` pip install ./chirp-20240827-py3-none-any.whl` and it pulled in and installed a few other python packages. When that completed I tested the installation with the command "chirp" and it properly opened the app and requested to install the desktop icon file for launching. After closing it I tested the app with the newly installed icon and that worked as well.
I don't have the same linux distro as you do but it seems that things work as expected.
The only additional python packages that were installed by installing chirp were yattag, pyserial, and suds which I chose to install as system packages Jeff KI7GJG
On Tue, Aug 27, 2024 at 1:24 PM Dan Smith via Users < users@lists.chirpmyradio.com> wrote:
*dave@hp-compaq-sfdt*:*~/Downloads*$ pipx install
--system-site-packages ./chirp-20240827-py3-none-any.whl
Traceback (most recent call last): File "/usr/bin/pipx", line 8, in <module> sys.exit(cli()) ^^^^^ File "/usr/lib/python3/dist-packages/pipx/main.py", line 819, in cli return run_pipx_command(parsed_pipx_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/main.py", line 202, in
run_pipx_command
return commands.install( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/commands/install.py", line
30, in install
package_name = package_name_from_spec( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/commands/common.py", line
333, in package_name_from_spec
package_name = venv.install_package_no_deps( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/venv.py", line 268, in
install_package_no_deps
old_package_set = self.list_installed_packages() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/pipx/venv.py", line 348, in
list_installed_packages
pip_list = json.loads(cmd_run.stdout.strip()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/__init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
As best I can tell, this is a failure in pipx itself, trying to enumerate the packages on your system (or in the venv it has created). If you haven't deleted the old one from ~/.local/pipx you might try that, as perhaps you have residue left over from the system upgrade that is confusing it.
Otherwise, I'd recommend asking the pipx people. I just tried it locally with today's wheel (on jammy):
dan@serverdesk:~$ pipx install --system-site-packages ./chirp-20240827-py3-none-any.whl installed package chirp 20240827, installed using Python 3.10.12 These apps are now globally available - chirp - chirpc - experttune
--Dan _______________________________________________ Users mailing list users@lists.chirpmyradio.com https://lists.chirpmyradio.com/postorius/lists/users.lists.chirpmyradio.com To unsubscribe, send an email to users-leave@lists.chirpmyradio.com To report this email as off-topic, please email users-owner@lists.chirpmyradio.com List archives: https://lists.chirpmyradio.com/hyperkitty/list/users@lists.chirpmyradio.com/