> *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
[email protected]
https://lists.chirpmyradio.com/postorius/lists/users.lists.chirpmyradio.com
To unsubscribe, send an email to [email protected]
To report this email as off-topic, please email 
[email protected]
List archives: 
https://lists.chirpmyradio.com/hyperkitty/list/[email protected]/

Reply via email to