Project

General

Profile

Actions

Bug #9229

closed

error from Linux 'Manual installation from source'

Added by Mike Coughlin almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/17/2021
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
Installation
Platform:
Linux
Debug Log:
I read the instructions above:

Description

failing to find chirp-daily via the flatpack install instructions, I tried the manual method:

~/Downloads/chirp-daily-20210706$ sudo ./setup.py install
sudo: ./setup.py: command not found

next, it couldn't find the python command.

~/Downloads/chirp-daily-20210706$ python
Command 'python' not found, did you mean:
command 'python3' from deb python3
command 'python' from deb python-is-python3

Per its suggestion, I tried python3 ... and got:

~/Downloads/chirp-daily-20210706$ sudo python3 setup.py install
File "/home/mike/Downloads/chirp-daily-20210706/setup.py", line 17
print "Set chirp/init.py::all = %s" % str(chirp.all)
^
SyntaxError: invalid syntax

That stopped me.

I'm on Ubuntu 21.04. Prior to all this I had Synaptic Package Manager install: python-serial, though it couldn't find python-lib-xml2; so, I tried:

$ sudo apt-get install python-lib-xml2
[sudo] password for mike:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python-lib-xml2

`hope this helps make Linux Chirp easier for others ...


Related issues

Is duplicate of Bug #9227: flatpack instruction errorClosed07/17/2021

Actions
Actions #1

Updated by Bernhard Hailer over 2 years ago

  • Status changed from New to Closed
  • Model affected changed from (All models) to Installation
  • Platform changed from Windows to Linux

Duplicates #9227.

Actions

Also available in: Atom PDF