fix: [install crawler] remove old python requirement

pull/519/head
Terrtia 2020-07-16 09:03:59 +02:00
parent 3295b00c69
commit 4ad6b37701
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 4 additions and 5 deletions

View File

@ -8,10 +8,10 @@ install_docker() {
sudo docker pull scrapinghub/splash; sudo docker pull scrapinghub/splash;
} }
install_python_requirement() { # install_python_requirement() {
. ./AILENV/bin/activate; # . ./AILENV/bin/activate;
pip3 install -U -r crawler_requirements.txt; # pip3 install -U -r crawler_requirements.txt;
} # }
install_all() { install_all() {
read -p "Do you want to install docker? (use local splash server) [y/n] " -n 1 -r read -p "Do you want to install docker? (use local splash server) [y/n] " -n 1 -r
@ -20,7 +20,6 @@ install_all() {
then then
install_docker; install_docker;
fi fi
install_python_requirement;
} }
usage() { usage() {