Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
很确定一切都正确安装。当我进入python解释器并导入scrapy时,没有出现错误。但是,当我scrapy startproject tutorial在 shell 中运行时,它会返回:
scrapy startproject tutorial
$ scrapy startproject tutorial -bash: scrapy: command not found
任何指针表示赞赏!
重新安装 Scrapy 解决了这个问题。
我也遇到了这个问题,即使我重新安装了 python 和 scrapy 仍然无法正常工作。之后,我从 zsh 切换到默认 shell(Mac OS X 10),现在可以正常工作了。