1.3 KiB
Ubuntu packages
System Message: ERROR/3 (<stdin>, line 7)
Unknown directive type "versionadded".
.. versionadded:: 0.10
Scrapinghub publishes apt-gettable packages which are generally fresher than those in Ubuntu, and more stable too since they're continuously built from Github repo (master & stable branches) and so they contain the latest bug fixes.
To use the packages:
Import the GPG key used to sign Scrapy packages into APT keyring.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 627220E7
Create /etc/apt/sources.list.d/scrapy.list file using the following command.
echo 'deb http://archive.scrapy.org/ubuntu scrapy main' | sudo tee /etc/apt/sources.list.d/scrapy.list
Update package lists and install scrapy-VERSION, replace VERSION by a known Scrapy version (i.e.: scrapy-0.22)
sudo apt-get update sudo apt-get install scrapy-VERSION
Warning
Please note that these packages are updated frequently, and so if you find you can't download the packages, try updating your apt package lists first, e.g., with apt-get update.
Warning
python-scrapy is a different package provided by official debian repositories, it's very outdated and it isn't supported by Scrapy team.