[chirp_users] Can't install on Ubuntu 23.04
I'm following these instructions: https://chirp.danplanet.com/projects/chirp/wiki/ChirpOnLinux
$ pip3 install chirp-20230425.tar.gz error: externally-managed-environment
× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification.
So I tried pipx: $ pipx install chirp-20230425.tar.gz Fatal error from pip prevented installation. Full pip output in file: /home/david/.local/pipx/logs/cmd_2023-04-25_11.52.02_pip_errors.log
Some possibly relevant errors from pip install: ERROR: Could not find a version that satisfies the requirement chirp-20230425-tar-gz (from versions: none) ERROR: No matching distribution found for chirp-20230425-tar-gz
Error installing chirp-20230425-tar-gz.
Any ideas?
Any ideas?
Those instructions are not updated for 23.04, which (along with upstream python) has fundamentally changed how installing python packages works. You can look at this bug for more details:
https://chirp.danplanet.com/issues/10541
I have on my todo list to update that with instructions for 23.04 but for the moment you'll have to pick out the details from the discussion there.
--Dan
David Is this a new install or an upgrade.?
If an upgrade you should be able to do 'pip install --upgrade /path/to/chirp-20230425.tar.gz' and it should work. If a new install then Dan's comment above applies.
If, by chance, you did an original install as a system-wide install using sudo then the upgrade also would require sudo.
Note that one should always be in their home directory when doing a local install as those instructions show.
Jeff KI7GJG
On Tue, Apr 25, 2023 at 11:00 AM Dan Smith via chirp_users < chirp_users@intrepid.danplanet.com> wrote:
Any ideas?
Those instructions are not updated for 23.04, which (along with upstream python) has fundamentally changed how installing python packages works. You can look at this bug for more details:
https://chirp.danplanet.com/issues/10541
I have on my todo list to update that with instructions for 23.04 but for the moment you'll have to pick out the details from the discussion there.
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to sandhillsinvestment@gmail.com at sandhillsinvestment@gmail.com 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
Is this a new install or an upgrade.?
If an upgrade you should be able to do 'pip install --upgrade /path/to/chirp-20230425.tar.gz' and it should work. If a new install then Dan's comment above applies.
If, by chance, you did an original install as a system-wide install using sudo then the upgrade also would require sudo.
Note that one should always be in their home directory when doing a local install as those instructions show.
I could be wrong, but I don't think the new-or-upgrade has anything to do with this. The managed flag will block even user-based installs using the system environment (which is supremely annoying, but alas).
--Dan
I have a question. I just pulled from git. I didn't see that whl file. Is there a different way to install when pulling from git?
Thanks,
Guy
On 4/25/23 12:53, Dan Smith via chirp_users wrote:
Is this a new install or an upgrade.?
If an upgrade you should be able to do 'pip install --upgrade /path/to/chirp-20230425.tar.gz' and it should work. If a new install then Dan's comment above applies.
If, by chance, you did an original install as a system-wide install using sudo then the upgrade also would require sudo.
Note that one should always be in their home directory when doing a local install as those instructions show.
I could be wrong, but I don't think the new-or-upgrade has anything to do with this. The managed flag will block even user-based installs using the system environment (which is supremely annoying, but alas).
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Guy Schlosser at guyster@bex.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 .
I have a question. I just pulled from git. I didn't see that whl file. Is there a different way to install when pulling from git?
The wheel is built during the build process, so you can find them here:
https://trac.chirp.danplanet.com/chirp_next/next-20230425/
Just FYI, installing from git will not get you everything you need as some of the assets get built and put into the right place only during the build process. It also means you don't get a version stamped into your chirp which makes it really hard for us if you report a bug, and may also impact some of the data query services where chirp reports its version to them during the query for compatibility and other type stuff.
--Dan
Got it! I figured it out and downloaded the wheel last night. Got it installed. Thanks for your help. 73
W8GCS.
JAWS Certified, 2021, https://www.freedomscientific.com/Training/Certification
On Apr 25, 2023, at 10:24 PM, Dan Smith via chirp_users chirp_users@intrepid.danplanet.com wrote:
I have a question. I just pulled from git. I didn't see that whl file. Is there a different way to install when pulling from git?
The wheel is built during the build process, so you can find them here:
https://trac.chirp.danplanet.com/chirp_next/next-20230425/
Just FYI, installing from git will not get you everything you need as some of the assets get built and put into the right place only during the build process. It also means you don't get a version stamped into your chirp which makes it really hard for us if you report a bug, and may also impact some of the data query services where chirp reports its version to them during the query for compatibility and other type stuff.
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Guy Schlosser at guyster@bex.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@intrepiddanplanet.com Searchable archive: https://www.mail-archive.com/chirp_users@intrepid.danplanet.com
Dan-
Thank you! That was the magic. So all the steps I had to do to install on Ubuntu 23.04 were the following:
sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip cd into_the_directory_with_the_whl_file_I_downloaded pipx install --system-site-packages ./chirp-20230425-py3-none-any.whl
Thanks again! -David, N9KT
On Tue, Apr 25, 2023 at 12:00 PM Dan Smith via chirp_users < chirp_users@intrepid.danplanet.com> wrote:
Any ideas?
Those instructions are not updated for 23.04, which (along with upstream python) has fundamentally changed how installing python packages works. You can look at this bug for more details:
https://chirp.danplanet.com/issues/10541
I have on my todo list to update that with instructions for 23.04 but for the moment you'll have to pick out the details from the discussion there.
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to N9KT at davids@mediamachine.com 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
Hi, Will these same steps work for a fresh install on Ubuntu20.04? Thanks ----- Original Message ----- From: David Spoelstra To: Dan Smith ; Discussion of CHIRP Sent: Tuesday, April 25, 2023 11:41 AM Subject: Re: [chirp_users] Can't install on Ubuntu 23.04
Dan-
Thank you! That was the magic. So all the steps I had to do to install on Ubuntu 23.04 were the following:
sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip
cd into_the_directory_with_the_whl_file_I_downloaded pipx install --system-site-packages ./chirp-20230425-py3-none-any.whl
Thanks again! -David, N9KT
On Tue, Apr 25, 2023 at 12:00 PM Dan Smith via chirp_users chirp_users@intrepid.danplanet.com wrote:
Any ideas?
Those instructions are not updated for 23.04, which (along with upstream python) has fundamentally changed how installing python packages works. You can look at this bug for more details:
https://chirp.danplanet.com/issues/10541
I have on my todo list to update that with instructions for 23.04 but for the moment you'll have to pick out the details from the discussion there.
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to N9KT at davids@mediamachine.com 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
--------------------------------------------------------------------------------
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to K0LNY at glenn@ervin.email 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
I don't know about 20.04 (the current LTS is 22.04).
I do know that the steps on https://chirp.danplanet.com/projects/chirp/wiki/ChirpOnLinux work on Ubuntu 22.04 (the current LTS) and 22.10.
Ubuntu 23.04 changed the way python apps need to be installed.
-David
On Tue, Apr 25, 2023 at 12:52 PM K0LNY_Glenn glenn@ervin.email wrote:
Hi, Will these same steps work for a fresh install on Ubuntu20.04? Thanks ----- Original Message ----- *From:* David Spoelstra davids@mediamachine.com *To:* Dan Smith dsmith@danplanet.com ; Discussion of CHIRP chirp_users@intrepid.danplanet.com *Sent:* Tuesday, April 25, 2023 11:41 AM *Subject:* Re: [chirp_users] Can't install on Ubuntu 23.04
Dan-
Thank you! That was the magic. So all the steps I had to do to install on Ubuntu 23.04 were the following:
sudo apt install git python3-wxgtk4.0 python3-serial python3-six
python3-future python3-requests python3-pip cd into_the_directory_with_the_whl_file_I_downloaded pipx install --system-site-packages ./chirp-20230425-py3-none-any.whl
Thanks again! -David, N9KT
On Tue, Apr 25, 2023 at 12:00 PM Dan Smith via chirp_users < chirp_users@intrepid.danplanet.com> wrote:
Any ideas?
Those instructions are not updated for 23.04, which (along with upstream python) has fundamentally changed how installing python packages works. You can look at this bug for more details:
https://chirp.danplanet.com/issues/10541
I have on my todo list to update that with instructions for 23.04 but for the moment you'll have to pick out the details from the discussion there.
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to N9KT at davids@mediamachine.com 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
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to K0LNY at glenn@ervin.email 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
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to N9KT at davids@mediamachine.com 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
On 26/4/23 01:59, Dan Smith via chirp_users wrote:
Those instructions are not updated for 23.04, which (along with upstream python) has fundamentally changed how installing python packages works. You can look at this bug for more details:
I had chirp installed with pipx but chirp couldn't find the wx module. At the time I had a later version of wxpython installed than the one in the repository. In desperation I removed that version and then installed the repository version and tried to install chirp again and this is the result:
pipx install chirp-20230427.tar.gz Fatal error from pip prevented installation. Full pip output in file: /home/phil/.local/pipx/logs/cmd_2023-05-08_09.35.25_pip_errors.log
Some possibly relevant errors from pip install: ERROR: Could not find a version that satisfies the requirement chirp-20230427-tar-gz (from versions: none) ERROR: No matching distribution found for chirp-20230427-tar-gz
Error installing chirp-20230427-tar-gz.
I also tried to install wxpython with pipx but that failed as well. I also tried the wheel version of chirp. The pipx log doesn't provide any useful information either.
Has any advancement been made to enable a chirp installation?
Try installing the wheel version.
On 07/05/2023 23:48 GMT Phil phillor9@gmail.com wrote:
On 26/4/23 01:59, Dan Smith via chirp_users wrote:
Those instructions are not updated for 23.04, which (along with upstream python) has fundamentally changed how installing python packages works. You can look at this bug for more details:
I had chirp installed with pipx but chirp couldn't find the wx module. At the time I had a later version of wxpython installed than the one in the repository. In desperation I removed that version and then installed the repository version and tried to install chirp again and this is the result:
pipx install chirp-20230427.tar.gz Fatal error from pip prevented installation. Full pip output in file: /home/phil/.local/pipx/logs/cmd_2023-05-08_09.35.25_pip_errors.log
Some possibly relevant errors from pip install: ERROR: Could not find a version that satisfies the requirement chirp-20230427-tar-gz (from versions: none) ERROR: No matching distribution found for chirp-20230427-tar-gz
Error installing chirp-20230427-tar-gz.
I also tried to install wxpython with pipx but that failed as well. I also tried the wheel version of chirp. The pipx log doesn't provide any useful information either.
Has any advancement been made to enable a chirp installation?
--
Regards, Phil
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Nigel Gunn, W8IFF at nigel@ngunn.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
Nigel A. Gunn, ///shoulders.outwards.resolutions tel +1-937-971-0366 Amateur Radio G8IFF W8IFF and GMRS WRBV701, e-mail nigel@ngunn.net www http://www.ngunn.net
Here's what I did on my Ubuntu 23.04 which worked:
sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip pipx cd into_the_directory_with_the_whl_file_I_downloaded pipx install --system-site-packages ./chirp-20230507-py3-none-any.whl
-David
On Mon, May 8, 2023 at 1:19 AM Phil phillor9@gmail.com wrote:
On 8/5/23 13:02, Nigel A. Gunn G8IFF/W8IFF wrote:
Try installing the wheel version.
I did, see the bottom of my question, and the result was exactly the same.
--
Regards, Phil
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to N9KT at davids@mediamachine.com 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
On 8/5/23 15:46, David Spoelstra wrote:
Here's what I did on my Ubuntu 23.04 which worked:
sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip pipx cd into_the_directory_with_the_whl_file_I_downloaded pipx install --system-site-packages ./chirp-20230507-py3-none-any.whl
Thank you David, I had already tried your suggestion. I do have other python apps installed in virtual directories. So this problem is specific to the installation of chirp. I've searched for remnants of a previous chirp installation but I haven't found anything obvious.
Same problem here - will not install on 23.04 as written:
* $ sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip pipxcd into_the_directory_with_the_whl_file_I_downloaded $ pipx install --system-site-packages ./chirp-20230507-py3-none-any.whl*
Jerry - K4OAM
On Mon, May 8, 2023 at 2:47 AM David Spoelstra davids@mediamachine.com wrote:
Here's what I did on my Ubuntu 23.04 which worked:
sudo apt install git python3-wxgtk4.0 python3-serial python3-six
python3-future python3-requests python3-pip pipx cd into_the_directory_with_the_whl_file_I_downloaded pipx install --system-site-packages ./chirp-20230507-py3-none-any.whl
-David
On Mon, May 8, 2023 at 1:19 AM Phil phillor9@gmail.com wrote:
On 8/5/23 13:02, Nigel A. Gunn G8IFF/W8IFF wrote:
Try installing the wheel version.
I did, see the bottom of my question, and the result was exactly the same.
--
Regards, Phil
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to N9KT at davids@mediamachine.com 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
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jerry at kb4oam@gmail.com 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
What's the error you are getting? -David, N9KT
On Tue, May 9, 2023 at 12:53 AM Jerry Rector - K4OAM kb4oam@gmail.com wrote:
Same problem here - will not install on 23.04 as written:
- $ sudo apt install git python3-wxgtk4.0 python3-serial python3-six
python3-future python3-requests python3-pip pipxcd into_the_directory_with_the_whl_file_I_downloaded $ pipx install --system-site-packages ./chirp-20230507-py3-none-any.whl*
Jerry - K4OAM
On Mon, May 8, 2023 at 2:47 AM David Spoelstra davids@mediamachine.com wrote:
Here's what I did on my Ubuntu 23.04 which worked:
sudo apt install git python3-wxgtk4.0 python3-serial python3-six
python3-future python3-requests python3-pip pipx cd into_the_directory_with_the_whl_file_I_downloaded pipx install --system-site-packages ./chirp-20230507-py3-none-any.whl
-David
On Mon, May 8, 2023 at 1:19 AM Phil phillor9@gmail.com wrote:
On 8/5/23 13:02, Nigel A. Gunn G8IFF/W8IFF wrote:
Try installing the wheel version.
I did, see the bottom of my question, and the result was exactly the same.
--
Regards, Phil
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to N9KT at davids@mediamachine.com 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
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jerry at kb4oam@gmail.com 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
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to N9KT at davids@mediamachine.com 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
Same problem here - will not install on 23.04 as written:
$ sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip pipx cd into_the_directory_with_the_whl_file_I_downloaded $ pipx install --system-site-packages ./chirp-20230507-py3-none-any.whl
I just updated the docs on the site, but they are exactly this. And it works for me, as expected, on 23.04. Of course just saying "will not install" doesn't give us anything to go on. We need an error or reason to help you.
--Dan
Hi Dan -
I DID send details via a screenshot and error-log contents, but that message was rejected by the site moderator, with no reason given for the rejection of the reply.
Jerry
On Tue, May 9, 2023 at 7:21 PM Dan Smith via chirp_users < chirp_users@intrepid.danplanet.com> wrote:
Same problem here - will not install on 23.04 as written:
$ sudo apt install git python3-wxgtk4.0 python3-serial python3-six
python3-future python3-requests python3-pip pipx
cd into_the_directory_with_the_whl_file_I_downloaded $ pipx install --system-site-packages ./chirp-20230507-py3-none-any.whl
I just updated the docs on the site, but they are exactly this. And it works for me, as expected, on 23.04. Of course just saying "will not install" doesn't give us anything to go on. We need an error or reason to help you.
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Jerry at kb4oam@gmail.com 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
I DID send details via a screenshot and error-log contents, but that message was rejected by the site moderator, with no reason given for the rejection of the reply.
Likely because of its size. There are over 2000 people on this list and sending an image to all of them is a huge amount of bandwidth :)
Please copy and paste the text which is a tiny fraction of the size.
--Dan
On Tue, Apr 25, 2023 at 11:56 AM David Spoelstra davids@mediamachine.com wrote:
I'm following these instructions: https://chirp.danplanet.com/projects/chirp/wiki/ChirpOnLinux
I just followed the updated instructions on the ChirpOnLinux page and was successful at installing the latest CHIRP-next on a clean install of Ubuntu 23.04.
The only thing that was missing from the updated instructions was installing pipx "For distros with the managed flag (Ubuntu 23.04, Debian 11 and later)".
That can probably be added to step 1 but I did it just prior to running step 2.2.
sudo apt install pipx
Jim KC9HI
participants (9)
-
Dan Smith
-
David Spoelstra
-
Guy Schlosser
-
Jeffrey Vian
-
Jerry Rector - K4OAM
-
Jim Unroe
-
K0LNY_Glenn
-
Nigel A. Gunn G8IFF/W8IFF
-
Phil