打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
scrapy_installation guide

installation guide

Pre-requisites

The installation steps assume that you have the following things installed:

Installing Scrapy

You can install Scrapy using easy_install or pip (which is the canonical way to distribute and install Python packages).

To install using pip:

pip install Scrapy

To install using easy_install:

easy_install Scrapy

Platform specific installation notes

Windows

After installing Python, follow these steps before installing Scrapy:

  • add the C:\python27\Scripts and C:\python27 folders to the system path by adding those directories to the PATH environment variable from the Control Panel.
  • install OpenSSL by following these steps:
    1. go to Win32 OpenSSL page
    2. download Visual C++ 2008 redistributables for your Windows and architecture
    3. download OpenSSL for your Windows and architecture (the regular version, not the light one)
    4. add the c:\openssl-win32\bin (or similar) directory to your PATH, the same way you addedpython27 in the first step`` in the first step
  • some binary packages that Scrapy depends on (like Twisted, lxml and pyOpenSSL) require a compiler available to install, and fail if you don’t have Visual Studio installed. You can find Windows installers for those in the following links. Make sure you respect your Python version and Windows architecture.

Ubuntu 9.10 or above

Don’t use the python-scrapy package provided by Ubuntu, they are typically too old and slow to catch up with latest Scrapy.

Instead, use the official Ubuntu Packages, which already solve all dependencies for you and are continuously updated with the latest bug fixes.

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Installing scikit-learn on Ubuntu 14.04 ---------> Python 3
在VMware中安装Ubuntu进不了图形界面的解决方法
Ubuntu 搭建scrapy开发环境
ubuntu使用前期准备
如何在Ubuntu 18.04上安装Pip
Scrapy 1.5.0 发布!
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服