File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,21 @@ b_echo "################"
22
22
echo " "
23
23
r_echo " # Installing dependencies..."
24
24
sudo apt-get update
25
- sudo apt-get install -y aha html2text libxml2-utils git unzip curl wget graphviz python -dev virtualenv
25
+ sudo apt-get install -y aha html2text libxml2-utils git unzip curl wget graphviz python2 python2 -dev python-setuptools
26
26
echo " "
27
27
r_echo " Utilities installed"
28
28
echo " "
29
- if ! [[ $( command -v pip) ]]; then
30
- sudo apt-get install -y python-pip
29
+ if ! [[ $( command -v pip2) ]]; then
30
+ curl -s https://bootstrap.pypa.io/get-pip.py --output get-pip.py
31
+ sudo python2 get-pip.py
32
+ rm get-pip.py
31
33
r_echo " pip installed"
32
34
else
33
35
r_echo " pip already installed"
34
36
fi
35
- pip install virtualenv
37
+ pip2 install virtualenv
36
38
37
- virtualenv python_dep
39
+ ~ /.local/bin/ virtualenv -p python2 python_dep
38
40
python_dep/bin/pip install androguard
39
41
r_echo " Androguard installed"
40
42
python_dep/bin/pip install --pre tlslite-ng
You can’t perform that action at this time.
0 commit comments