From 86cacbc51fe806e093b9e56ab1e39e94d028a396 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Wed, 12 Sep 2018 19:30:00 +0200 Subject: [PATCH] fix: [Install] add python and package requirements --- doc/statistics/create_graph_by_tld.py | 2 ++ installing_deps.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/statistics/create_graph_by_tld.py b/doc/statistics/create_graph_by_tld.py index e21ac736..3ab3e1cc 100755 --- a/doc/statistics/create_graph_by_tld.py +++ b/doc/statistics/create_graph_by_tld.py @@ -7,6 +7,8 @@ Create statistics pie charts by tld Default tld: lu ''' +import matplotlib +matplotlib.use('Agg') import os import sys import redis diff --git a/installing_deps.sh b/installing_deps.sh index c29ba4b9..975830f4 100755 --- a/installing_deps.sh +++ b/installing_deps.sh @@ -5,7 +5,7 @@ set -x sudo apt-get update -sudo apt-get install python3-pip python-virtualenv python3-dev libfreetype6-dev \ +sudo apt-get install python3-pip python-virtualenv python3-dev python3-tk libfreetype6-dev \ screen g++ python-tk unzip libsnappy-dev cmake -y #optional tor install