Also you seem to be installing as root. I think that will not work.
Also if your using distros with the managed flag (Ubuntu 23.04, Debian 11 and later) You must use pipx to install chirp separated from the system python environment. However, because some libraries from the system environment are required (packages from above) you must use the flag to enable their use. Use of the wheel download is recommended.
NOTE THESE STEPS ARE DONE AS USER ACCOUNT NOT ROOT ACCOUNT.
pip install pipx pipx install --system-site-packages ./chirp-20230509-py3-none-any.whl
The instructions are here: https://chirp.danplanet.com/projects/chirp/wiki/ChirpOnLinux
It seems that if you want to have separate users for amateur radio, and GMRS you'll have to do two installations as Chirp is installed as user not root.
In other words, it cannot be installed for all users system wide.
Best regards, David N1EA
On Thu, Nov 30, 2023, 2:36 AM Bruce kb6lwn@qso.com wrote:
First off, I want ALL the user accounts (all me) to be able to access chirp, If I'm logged in to my GMRS account I want to use chirp to program THOSE radios, if I'm logged in under my Amateur Call I want to use chirp THERE to program my Ham Rigs... And have the associated data files available THERE...
After reinstalling Py3.9 a couple times I FINALLY got chirp to install, but not without complaining about the out of date pip util. So I followed the instruct on how to upgrade that, and v21.3.1 is STILL being used. <sigh> Even though the upgrade to v23.3.1 succeeded.
So I tried the install of chirp under another user and got an OSError Permission failures, so I 'sodo'd it and THIS is what I got...
C was SO much more straight forward... WTF is 'testresources' ?! Tried it in a 'virtual environment' first and we know how THAT worked... And I *DID* upgrade pip you daffy computer !!! And WHY is there any "uninstalling" going on !?!?
I guess if a Python is going to kill it's prey, it needs to confuse it first...
Like I said, I think I'll stick with the old version of chirp, if what I've done here hasn't totally FUBAR'd that up...
============= Successfully uninstalled future-0.18.2 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. launchpadlib 1.10.13 requires testresources, which is not installed. Successfully installed certifi-2023.11.17 charset-normalizer-3.3.2 chirp-20231129 future-0.18.3 idna-3.6 importlib-resources-6.1.1 pyserial-3.5 requests-2.31.0 six-1.16.0 urllib3-2.1.0 yattag-1.15.2 zipp-3.17.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv WARNING: You are using pip version 21.3.1; however, version 23.3.1 is available. You should consider upgrading via the '/usr/bin/python3.9 -m pip install --upgrade pip' command.
--
73 4 Now, Bruce
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to D.J.J. Ring, Jr. at n1ea@arrl.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com To report this email as off-topic, please email chirp_users-owner@intrepid.danplanet.com Searchable archive: https://www.mail-archive.com/chirp_users@intrepid.danplanet.com