Bug #9229

error from Linux 'Manual installation from source'

Added by Mike Coughlin 3 months ago. Updated about 1 month ago.

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

0%

Category:-
Target version:-
Chirp Version:daily Platform:Linux
Model affected:Installation

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

duplicates Bug #9227: flatpack instruction error Feedback 07/17/2021

History

Updated by Bernhard Hailer about 1 month ago

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

Duplicates #9227.

Also available in: Atom PDF