已安装 Scrapy,但无法在命令行中识别 [英] Scrapy installed, but won't recognized in the command line
本文介绍了已安装 Scrapy,但无法在命令行中识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 Windows 7 的 python 2.7 环境中安装了 Scrapy,但是当我尝试使用 scrapy startproject newProject
启动一个新的 Scrapy 项目时,命令提示符会显示此消息
I installed Scrapy in my python 2.7 environment in windows 7 but when I trying to start a new Scrapy project using scrapy startproject newProject
the command prompt show this massage
'scrapy' is not recognized as an internal or external command,
operable program or batch file.
注意:
- 我也有 python 3.5,但没有scrapy
- 这个问题与这个不重复
推荐答案
参见 官方文档.
- 设置环境变量
- 安装pywin32
这篇关于已安装 Scrapy,但无法在命令行中识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文