27
February
2025
Reinstall (update) CHIRP
17:02

Reinstall (update) CHIRP

27 February 2025 17:02

Reinstallation instructions taken from chirponlinux.

(I have the Chirp app installed on bootable USB flash drive antiX 23.2 x64 runit, so you must first change the boot order of the HDDs in the BIOS, press F10 and start the PC from Live USB).

1) download the new version of CHIRP NEXT from chirpmyrado.com- you need a file with the extension WHL.
2) remove the chirp next package with the command

pipx uninstall chirp

3) install the new version using the Terminal command, in the directory with the downloaded *.WHL file:

cd ~/Downloads
ls *.whl

pipx install --system-site-packages ./chirp-yyyymmdd-py3-none-any.whl
chirp

 

If you get the error ERROR: Package 'chirp' requires a different Python: 3.8.10 not in '<4, >= 3.10',
Although python 3.10 is installed - the solution is below.

Solving the problem with chirp - fulfilling the requirement of python 3.10

/usr/bin/python3 --version

Python 3.8.10

Check if Python 3.10 is available in the alternatives.
If python 3.10 is not available, install python3.10:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.10
sudo apt install python3-pip

On the team sudo update-alternatives --config python select python3.10:

sudo update-alternatives --config python
There are 2 options for a python alternative (provides /usr/local/bin/python).

Selection Path Prior State
--------------------------------------------------------------
* 0 /usr/bin/python3.10 0 automatic mode
1 /usr/bin/python3.10 0 manual mode
2 /usr/bin/python3.8 0 manual mode

Press  to keep the current choice[*], or type selection number: 1

Installing pipx:

sudo pip install pipx
pipx ensurepath
sudo pipx ensurepath --global --force

Log out of the session and log in again.

You will need to reinstall the wxpython library. First install dependencies for wxpython, then reinstall wxpython.

sudo apt install python3.10-venv
sudo apt install dpkg-dev build-essential libjpeg-dev libtiff-dev libsdl1.2-dev libgstreamer-plugins-base1.0-dev libnotify-dev freeglut3 freeglut3-dev libsm-dev libgtk-3-dev libwebkit2gtk-4.0-dev libxtst-dev
sudo pip uninstall wxpython

Download wxPython for Python 3.10- direct link:wxPython-4.2.1-cp310-cp310-linux_x86_64.whl.

pip3.10 install wxPython-4.2.1-cp310-cp310-linux_x86_64.whl

pipx install --system-site-packages ./chirp-20250314-py3-none-any.whl --python python3.10 --force

chirp

chirp_splash_screen

Successfully installed python 3.10 and chirp on Ubuntu 20.10.


Date of change: 03/14/2025



Related publications