[chirp_users] Compiling chirp on Linux mint 20 and failed chirp build in the ppa
Hello, I have tried : |apt-get install python-gtk python-serial python-libxml2|
|Those are not present in the repositories for Linux mint 20.|
| |
|I tried to install: |
|python-libxml2 |
|python-wxgtk-media3.0|
||python-wxgtk-webview3.0||
|python3-serial |
|+ other packages mentioning python and serial + gtk.|
| |
|No luck on that.|
|Installed python3-pip and did : ./chirpw WARNING: python-future package is not available; chirp.drivers.anytone778uv requires it WARNING: python-future package is not available; chirp.drivers.ga510 requires it Traceback (most recent call last): File "./chirpw", line 24, in <module> from chirp.drivers import * File "/home/haaken/Nedlastinger/chirp-daily-20200718/chirp/drivers/idrp.py", line 16, in <module> import serial ImportError: No module named serial |
|Then tried :|
| pip3 install serial Collecting serial Downloading serial-0.0.97-py2.py3-none-any.whl (40 kB) |████████████████████████████████| 40 kB 602 kB/s Requirement already satisfied: iso8601>=0.1.12 in /usr/lib/python3/dist-packages (from serial) (0.1.12) Requirement already satisfied: pyyaml>=3.13 in /usr/lib/python3/dist-packages (from serial) (5.3.1) Requirement already satisfied: future>=0.17.1 in /usr/lib/python3/dist-packages (from serial) (0.18.2) Installing collected packages: serial Successfully installed serial-0.0.97 |
|Still the same issue with | ||./chirpw||
||How do I solve this, and WHY is there no packet available in the dansmith ppa ?||
||There is apparently a depency missing to build the package for Focal, because according to the build log:
Build status
[MANUALDEPWAIT] Dependency wait on lgw01-amd64-022
Missing build dependencies: python-serial Started on 2020-07-18 Finished on 2020-07-18 (took 1 minute, 37.3 seconds) ||
|| ||
|| ||
You tried downloading Python 2.7 from python.org?
On 21 July 2020 at 14:10 Håken Hveem krbjhvee@online.no wrote:
Hello, I have tried : apt-get install python-gtk python-serial python-libxml2 Those are not present in the repositories for Linux mint 20. I tried to install: python-libxml2 python-wxgtk-media3.0 python-wxgtk-webview3.0 python3-serial + other packages mentioning python and serial + gtk. No luck on that. Installed python3-pip and did : ./chirpw WARNING: python-future package is not available; chirp.drivers.anytone778uv requires it WARNING: python-future package is not available; chirp.drivers.ga510 requires it Traceback (most recent call last): File "./chirpw", line 24, in <module> from chirp.drivers import * File "/home/haaken/Nedlastinger/chirp-daily-20200718/chirp/drivers/idrp.py", line 16, in <module> import serial ImportError: No module named serial Then tried : pip3 install serial Collecting serial Downloading serial-0.0.97-py2.py3-none-any.whl (40 kB) |████████████████████████████████| 40 kB 602 kB/s Requirement already satisfied: iso8601>=0.1.12 in /usr/lib/python3/dist-packages (from serial) (0.1.12) Requirement already satisfied: pyyaml>=3.13 in /usr/lib/python3/dist-packages (from serial) (5.3.1) Requirement already satisfied: future>=0.17.1 in /usr/lib/python3/dist-packages (from serial) (0.18.2) Installing collected packages: serial Successfully installed serial-0.0.97 Still the same issue with ./chirpw How do I solve this, and WHY is there no packet available in the dansmith ppa ? There is apparently a depency missing to build the package for Focal, because according to the build log: Build status [MANUALDEPWAIT] Dependency wait on lgw01-amd64-022 Missing build dependencies: python-serial Started on 2020-07-18 Finished on 2020-07-18 (took 1 minute, 37.3 seconds) _______________________________________________ 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
Nigel A. Gunn, ///shoulders.outwards.resolutions tel +1 937 825 5032 Amateur Radio G8IFF W8IFF and GMRS WRBV701, e-mail nigel@ngunn.net www http://www.ngunn.net
Hi,
It looks like you are mixing some python2 and python3 commands. When you use the 'pip3' command it installs packages for python3. This also applied when using 'apt install python3-*' Hopefully it is clear (on the website) that Chirp is python2 only at the moment.
It appears that Linux Mint 20 is based on Ubuntu 20.04 which has dropped many packages that utilize python2. This creates a scenario where you can't *easily* get the packages needed to run Chirp (at least not with apt or pip).
There are several ways to move forward: 1. A chirp user here mentioned another ham packaged up the necessary .Deb files for chirp to run. Search the chirp-users archive for that link. I don't have it handy. 2. Install flatpak to your system and install the chirp.flatpak installer from the command line. The .flatpak installer is published next to the windows and Mac installers at https://trac.chirp.danplanet.com/chirp_daily/LATEST/ See comment #4 for some additional flatpak instructions at https://chirp.danplanet.com/issues/7837
Tony ________________________________ From: chirp_users-bounces@intrepid.danplanet.com chirp_users-bounces@intrepid.danplanet.com on behalf of Haken Hveem krbjhvee@online.no Sent: Tuesday, July 21, 2020 1:10:25 PM To: Discussion of CHIRP chirp_users@intrepid.danplanet.com Subject: [chirp_users] Compiling chirp on Linux mint 20 and failed chirp build in the ppa
Hello, I have tried : apt-get install python-gtk python-serial python-libxml2
Those are not present in the repositories for Linux mint 20.
I tried to install:
python-libxml2
python-wxgtk-media3.0
python-wxgtk-webview3.0
python3-serial
+ other packages mentioning python and serial + gtk.
No luck on that.
Installed python3-pip and did : ./chirpw WARNING: python-future package is not available; chirp.drivers.anytone778uv requires it WARNING: python-future package is not available; chirp.drivers.ga510 requires it Traceback (most recent call last): File "./chirpw", line 24, in <module> from chirp.drivers import * File "/home/haaken/Nedlastinger/chirp-daily-20200718/chirp/drivers/idrp.py", line 16, in <module> import serial ImportError: No module named serial
Then tried :
pip3 install serial Collecting serial Downloading serial-0.0.97-py2.py3-none-any.whl (40 kB) |████████████████████████████████| 40 kB 602 kB/s Requirement already satisfied: iso8601>=0.1.12 in /usr/lib/python3/dist-packages (from serial) (0.1.12) Requirement already satisfied: pyyaml>=3.13 in /usr/lib/python3/dist-packages (from serial) (5.3.1) Requirement already satisfied: future>=0.17.1 in /usr/lib/python3/dist-packages (from serial) (0.18.2) Installing collected packages: serial Successfully installed serial-0.0.97
Still the same issue with ./chirpw
How do I solve this, and WHY is there no packet available in the dansmith ppa ?
There is apparently a depency missing to build the package for Focal, because according to the build log:
Build status
[MANUALDEPWAIT] Dependency wait on lgw01-amd64-022
Missing build dependencies: python-serial Started on 2020-07-18 Finished on 2020-07-18 (took 1 minute, 37.3 seconds)
or 3. Install WINE and use the Windows version.
Tom ND5Y
There are several ways to move forward:
- A chirp user here mentioned another ham packaged up the necessary
.Deb files for chirp to run. Search the chirp-users archive for that link. I don't have it handy. 2. Install flatpak to your system and install the chirp.flatpak installer from the command line. The .flatpak installer is published next to the windows and Mac installers at https://trac.chirp.danplanet.com/chirp_daily/LATEST/ https://trac.chirp.danplanet.com/chirp_daily/LATEST/ See comment #4 for some additional flatpak instructions at https://chirp.danplanet.com/issues/7837 https://chirp.danplanet.com/issues/7837
Håken Hveem;
Hopefully this will help you, and not confuse you. Its how I install Chirp on my Xubuntu 20.04 systems.
You don't need to download Python 2.7 from the Python WEB page. Its in Focals,(20.04)Repositories.
These are all terminal commands, don't use the quotes.
"sudo apt install python2" will install 2.7
"ls -ls /usr/bin/python*" will list your versions of python installed. In my case 2.7 and 3.8
Add the Chirp repository:
"sudo apt-add-repository ppa:dansmith/chirp-snapshots"
Update:
"sudo apt update" "sudo apt upgrade" <-- maybe not needed, doesn't hurt to check.
Next Step from The Chirp WEB page:
"sudo apt-get install chirp-daily"
Returns an error.
"E: Unable to locate package chirp-daily"
In terminal, open your file manager as sudo. I use Xubuntu, so I use "Sudo thunar" Your command will match your desktop.
Using mousepad, or text editor, Edit, "/etc/apt/sources.list.d/dansmith-ubuntu-chirp-snapshots-focal.list"
Change: "deb http://ppa.launchpad.net/dansmith/chirp-snapshots/ubuntu focal main" to: "deb http://ppa.launchpad.net/dansmith/chirp-snapshots/ubuntu bionic main"
"sudo apt update" "sudo apt-get install chirp-daily"
Another error: "The following packages have unmet dependencies" And a list of 4 of them.
Download the first missing file:
"https://packages.ubuntu.com/bionic/amd64/python-libxslt1/download"
"cd Downloads"
"sudo dpkg -i python-libxslt1_1.1.29-5ubuntu0.2_amd64.deb" Another error: "sudo apt install -f" "sudo apt-get install chirp-daily"
Now we are down to 3 missing dependencies.
Download from here:
"https://packages.ubuntu.com/bionic/amd64/python-gtk2/download"
"sudo dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb" "sudo apt install -f" "sudo apt-get install chirp-daily"
Down to 2 missing, getting closer.
Download the next one from here"
"https://packages.ubuntu.com/bionic/all/python-serial/download"
There, now we are down to 1 missing:
"https://packages.ubuntu.com/bionic/all/python-suds/download" "sudo dpkg -i python-suds_0.7~git20150727.94664dd-5_all.deb"
Another error:
"sudo apt install -f"
"sudo apt-get install chirp-daily"
It installed, chirpw returns an error; "python-future" is missing.
"https://packages.ubuntu.com/bionic/all/python-future/download"
"sudo dpkg -i python-future_0.15.2-4ubuntu2_all.deb"
Another dependency error:
"sudo apt install -f"
"chirpw" its running. no errors.
"
On 7/21/20 1:10 PM, Håken Hveem wrote:
Hello, I have tried : |apt-get install python-gtk python-serial python-libxml2|
|Those are not present in the repositories for Linux mint 20.|
| |
|I tried to install: |
|python-libxml2 |
|python-wxgtk-media3.0|
||python-wxgtk-webview3.0||
|python3-serial |
|+ other packages mentioning python and serial + gtk.|
| |
|No luck on that.|
participants (5)
-
Håken Hveem
-
Nigel A. Gunn G8IFF/W8IFF
-
Tom Consodine
-
Tony Fuller
-
wa0sbu@kslimmer.com