From 176b8cb7d12bcb05102f4cdc68b0b0e36965dabb Mon Sep 17 00:00:00 2001 From: Adrian Chaves Date: Wed, 24 Jun 2026 12:14:01 +0200 Subject: [PATCH] Keep the note only in the tutorial --- docs/intro/install.rst | 2 -- docs/intro/tutorial.rst | 10 +++++++++- docs/intro/windows-path-env-var-note.rst | 9 --------- 3 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 docs/intro/windows-path-env-var-note.rst diff --git a/docs/intro/install.rst b/docs/intro/install.rst index 8d8b50fbf..8cef04ff1 100644 --- a/docs/intro/install.rst +++ b/docs/intro/install.rst @@ -130,8 +130,6 @@ To install Scrapy on Windows using ``pip``: Now, you should be able to :ref:`install Scrapy ` using ``pip``. -.. include:: windows-path-env-var-note.rst - .. _intro-install-ubuntu: Ubuntu 14.04 or above diff --git a/docs/intro/tutorial.rst b/docs/intro/tutorial.rst index 1ab5fd215..d8f2d4b35 100644 --- a/docs/intro/tutorial.rst +++ b/docs/intro/tutorial.rst @@ -53,7 +53,15 @@ directory where you'd like to store your code and run:: scrapy startproject tutorial -.. include:: windows-path-env-var-note.rst +.. note:: + + If you see ``'scrapy' is not recognized as an internal or external command`` + when running ``scrapy`` on Windows, make sure you have :ref:`installed + Scrapy properly ` and that your Python ``Scripts`` + directory is in your system ``PATH``. + + As a workaround, run ``python -m scrapy `` (for example, ``python + -m scrapy startproject myproject``). This will create a ``tutorial`` directory with the following contents:: diff --git a/docs/intro/windows-path-env-var-note.rst b/docs/intro/windows-path-env-var-note.rst deleted file mode 100644 index e40beb335..000000000 --- a/docs/intro/windows-path-env-var-note.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. note:: - - If you see ``'scrapy' is not recognized as an internal or external command`` - when running ``scrapy`` on Windows, make sure you have :ref:`installed - Scrapy properly ` and that your Python ``Scripts`` - directory is in your system ``PATH``. - - As a workaround, run ``python -m scrapy `` (for example, ``python - -m scrapy startproject myproject``).