<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Hi, <br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
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.
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
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).<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
There are several ways to move forward:<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
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.<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
2. Install flatpak to your system and install the chirp.flatpak installer from the command line.
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
The .flatpak installer is published next to the windows and Mac installers at <a href="https://trac.chirp.danplanet.com/chirp_daily/LATEST/">
https://trac.chirp.danplanet.com/chirp_daily/LATEST/</a> <br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
See comment #4 for some additional <span id="ms-outlook-android-cursor"></span>flatpak instructions at
<a href="https://chirp.danplanet.com/issues/7837">https://chirp.danplanet.com/issues/7837</a>
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Tony</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> chirp_users-bounces@intrepid.danplanet.com <chirp_users-bounces@intrepid.danplanet.com> on behalf of Håken Hveem <krbjhvee@online.no><br>
<b>Sent:</b> Tuesday, July 21, 2020 1:10:25 PM<br>
<b>To:</b> Discussion of CHIRP <chirp_users@intrepid.danplanet.com><br>
<b>Subject:</b> [chirp_users] Compiling chirp on Linux mint 20 and failed chirp build in the ppa</font>
<div> </div>
</div>
<div>
<p>Hello, I have tried :<br>
<code>apt-get install python-gtk python-serial python-libxml2</code></p>
<p><code>Those are not present in the repositories for Linux mint 20.</code></p>
<p><code><br>
</code></p>
<p><code>I tried to install:<br>
</code></p>
<p><code>python-libxml2<br>
</code></p>
<p><code>python-wxgtk-media3.0</code></p>
<p><br>
<code><code>python-wxgtk-webview3.0</code></code></p>
<p><code>python3-serial<br>
</code></p>
<p><code>+ other packages mentioning python and serial + gtk.</code></p>
<p><code><br>
</code></p>
<p><code>No luck on that.</code></p>
<p><code>Installed python3-pip and did :<br>
./chirpw<br>
WARNING: python-future package is not available; chirp.drivers.anytone778uv requires it<br>
WARNING: python-future package is not available; chirp.drivers.ga510 requires it<br>
Traceback (most recent call last):<br>
File "./chirpw", line 24, in <module><br>
from chirp.drivers import *<br>
File "/home/haaken/Nedlastinger/chirp-daily-20200718/chirp/drivers/idrp.py", line 16, in <module><br>
import serial<br>
ImportError: No module named serial<br>
</code></p>
<p><code>Then tried :</code></p>
<p><code> pip3 install serial<br>
Collecting serial<br>
Downloading serial-0.0.97-py2.py3-none-any.whl (40 kB)<br>
|| 40 kB 602 kB/s <br>
Requirement already satisfied: iso8601>=0.1.12 in /usr/lib/python3/dist-packages (from serial) (0.1.12)<br>
Requirement already satisfied: pyyaml>=3.13 in /usr/lib/python3/dist-packages (from serial) (5.3.1)<br>
Requirement already satisfied: future>=0.17.1 in /usr/lib/python3/dist-packages (from serial) (0.18.2)<br>
Installing collected packages: serial<br>
Successfully installed serial-0.0.97<br>
</code></p>
<p><code>Still the same issue with </code><br>
<code><code>./chirpw</code></code></p>
<p><code><code>How do I solve this, and WHY is there no packet available in the dansmith ppa ?</code></code></p>
<p><code><code>There is apparently a depency missing to build the package for Focal, because according to the build log:<br>
<br>
Build status<br>
<br>
[MANUALDEPWAIT] Dependency wait on lgw01-amd64-022<br>
<br>
Missing build dependencies: python-serial<br>
Started on 2020-07-18<br>
Finished on 2020-07-18 (took 1 minute, 37.3 seconds) <br>
</code></code></p>
<p><code><code><br>
</code></code></p>
<p><code><code><br>
</code></code></p>
</div>
</body>
</html>