Skip to content

Instantly share code, notes, and snippets.

@linuxbiekaisar
Created May 13, 2020 21:50
Show Gist options
  • Select an option

  • Save linuxbiekaisar/063d446290010f206051f31e67e98cf8 to your computer and use it in GitHub Desktop.

Select an option

Save linuxbiekaisar/063d446290010f206051f31e67e98cf8 to your computer and use it in GitHub Desktop.
How to install scrapy in linux
# youtube: https://www.youtube.com/watch?v=l7YOzZAnLlo
# !/bin/sh
# For installing scrapy in linux run the following commands:
# Install python dependency
# For apt (ubuntu, debian...):
sudo apt-get install python3-dev
sudo apt-get install python2-dev # For apt ( ubuntu, debian,)
sudo yum install python-devel # For yum (centos, redhat, fedora...)
cd ~
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
pip -V
sudo pip3 install scrapy
Second Procedure :
sudo pip3 install virtualenv
cd ~
mkdir Virtualenvs
cd Virtualenvs
virtualenv scrapy_env
pip3 install scrapy
pip3 install ipython
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment