diff options
author | ng0 <ng0@n0.is> | 2019-02-26 11:00:39 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-02-26 11:00:39 +0000 |
commit | 104d94ff02c4ee338d47bc9a51fb41ffb947a351 (patch) | |
tree | 6ce59ac595fcc0de72382371e897e52a0bba9aec /src | |
parent | ec2d7fe4eb37440a3e9539341d41a283feda8798 (diff) | |
download | gnunet-104d94ff02c4ee338d47bc9a51fb41ffb947a351.tar.gz gnunet-104d94ff02c4ee338d47bc9a51fb41ffb947a351.zip |
gnunet-qr.py: More verbose information about required packages
Diffstat (limited to 'src')
-rwxr-xr-x | src/util/gnunet-qr.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/util/gnunet-qr.py b/src/util/gnunet-qr.py index c0518854d..88fb4fc50 100755 --- a/src/util/gnunet-qr.py +++ b/src/util/gnunet-qr.py | |||
@@ -4,6 +4,8 @@ try: | |||
4 | from builtins import str | 4 | from builtins import str |
5 | except ImportError as e: | 5 | except ImportError as e: |
6 | print('Cannot import future modules, python2.7 future module required!') | 6 | print('Cannot import future modules, python2.7 future module required!') |
7 | print('For Debian, you can obtain is as "python-future".') | ||
8 | print('Upstream: https://python-future.org/') | ||
7 | sys.exit(1) | 9 | sys.exit(1) |
8 | import getopt | 10 | import getopt |
9 | import subprocess | 11 | import subprocess |
@@ -11,7 +13,9 @@ from sys import argv | |||
11 | try: | 13 | try: |
12 | import zbar | 14 | import zbar |
13 | except ImportError as e: | 15 | except ImportError as e: |
14 | print('Cannot run gnunet-qr, please install zbar-python') | 16 | print('Cannot run gnunet-qr, please install the zbar module.') |
17 | print('For Debian, you can obtain it as "python-zbar".') | ||
18 | print('Upstream: http://zbar.sourceforge.net/') | ||
15 | sys.exit(1) | 19 | sys.exit(1) |
16 | 20 | ||
17 | 21 | ||