确定已经成功安装了scrapy

进入到存放项目的目录,执行命令

python3 -m scrapy startproject Tencent

输出结果

New Scrapy project ‘Tencent’, using template directory ‘/usr/local/lib/python3.6/site-packages/scrapy/templates/project’, created in:
/root/Tencent

You can start your first spider with:
cd Tencent
scrapy genspider example example.com

表示创建成功,因为我同时安装了python2和python3,如果你的只装了python3

也可以直接执行命令

scrapy startproject Tencent

也会有相同的结果