From e8b5ab5e148f95d23f755cbd840ed4c6b9084daa Mon Sep 17 00:00:00 2001 From: nijil Date: Mon, 2 Mar 2026 17:08:46 +0530 Subject: [PATCH] Add note for Windows users about python -m scrapy alternative --- docs/intro/install.rst | 6 ++++++ docs/intro/tutorial.rst | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docs/intro/install.rst b/docs/intro/install.rst index 0810e7274..0b36251cc 100644 --- a/docs/intro/install.rst +++ b/docs/intro/install.rst @@ -130,6 +130,12 @@ To install Scrapy on Windows using ``pip``: Now, you should be able to :ref:`install Scrapy ` using ``pip``. +.. note:: + **Windows users:** If you see a message like ``'scrapy' is not recognized + as an internal or external command`` after installation, you can run + ``python -m scrapy `` instead (e.g., + ``python -m scrapy startproject myproject``). + .. _intro-install-ubuntu: Ubuntu 14.04 or above diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rst index c4e04364b..07d31b4da 100644 --- a/docs/intro/tutorial.rst +++ b/docs/intro/tutorial.rst @@ -53,6 +53,12 @@ directory where you'd like to store your code and run:: scrapy startproject tutorial +.. note:: + **Windows users:** If you see a message like ``'scrapy' is not recognized + as an internal or external command``, you can run + ``python -m scrapy `` instead (e.g., + ``python -m scrapy startproject myproject``). + This will create a ``tutorial`` directory with the following contents:: tutorial/