在虚拟环境下或者全局Python环境下新建scrapyd-deploy.bat
文件,编辑其内容如下
@echo off
"C:\Program Files (x86)\Anaconda3\python.exe" "C:\Program Files
(x86)\Anaconda3\Scripts\scrapyd-deploy" %1 %2 %3 %4 %5 %6 %7 %8 %9`
"C:\Program Files (x86)\Anaconda3\python.exe" 为Python路径
"C:\Program Files (x86)\Anaconda3\Scripts\scrapyd-deploy" 为scrapyd-deploy文件路径
效果见图: